Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chiragparekh/16b85d1813e603b42b0750d5b6d2d57b to your computer and use it in GitHub Desktop.
Save chiragparekh/16b85d1813e603b42b0750d5b6d2d57b to your computer and use it in GitHub Desktop.
Laravel Sail Existing Application Install Without local php composer install with docker
#composer install
docker pull composer/composer
docker run --rm -it -v "$(pwd):/app" composer/composer require laravel/sail --dev
#artisan install
docker pull php
docker container run --rm -v $(pwd):/app/ php php /app/artisan sail:install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment