Skip to content

Instantly share code, notes, and snippets.

@milanchheda
Forked from connor11528/create_laravel_app.sh
Created July 12, 2017 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milanchheda/3df77fa6a9a2e74b5be3ae648986e25b to your computer and use it in GitHub Desktop.
Save milanchheda/3df77fa6a9a2e74b5be3ae648986e25b to your computer and use it in GitHub Desktop.
Create a new Laravel application
#!/bin/bash
laravel new $1
cd $1
composer install
yarn install
touch README.md
cp .env.example .env
git init
git add -A
git commit -m 'Initial commit'
php artisan key:generate
php artisan config:clear
php artisan config:cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment