Horje
laravel sail install php mongodb extension Code Example
laravel sail install php mongodb extension
#Step 1 
#edit vendor/laravel/sail/runtimes/[PHP VERSION]/Dockerfile
#Ex: ./vendor/laravel/sail/runtimes/8.1/Dockerfile

#Step 2 
#Add the command at Dockerfile file
RUN apt-get install -y php8.1-mongodb
  
#Step 3 
#Save it and then run ./vendor/bin/sail build and ./vendor/bin/sail up -d
./vendor/bin/sail build && ./vendor/bin/sail up -d

## Tutorials:
# https://developpaper.com/laravel-sail-add-mongodb/




Shell

Related
Créer un installateur Windows Code Example Créer un installateur Windows Code Example
git commit with subject and body Code Example git commit with subject and body Code Example
list available/configured AWS CLI profiles Code Example list available/configured AWS CLI profiles Code Example
aws cli list all profiles Code Example aws cli list all profiles Code Example
perticuler version install npm Code Example perticuler version install npm Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12