Skip to content

Instantly share code, notes, and snippets.

@mubassirhayat
Forked from connor11528/create_laravel_app.sh
Created September 11, 2017 15:39
Show Gist options
  • Save mubassirhayat/0f10d084c8af50202039e4c21d43f492 to your computer and use it in GitHub Desktop.
Save mubassirhayat/0f10d084c8af50202039e4c21d43f492 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