Skip to content

Instantly share code, notes, and snippets.

@mmuhd
Forked from connor11528/create_laravel_app.sh
Created December 9, 2018 15:57
Show Gist options
  • Save mmuhd/83a220e2fc7240e1d7e749eb22e9c691 to your computer and use it in GitHub Desktop.
Save mmuhd/83a220e2fc7240e1d7e749eb22e9c691 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