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
  • Select an option

  • Save mmuhd/83a220e2fc7240e1d7e749eb22e9c691 to your computer and use it in GitHub Desktop.

Select an option

Save mmuhd/83a220e2fc7240e1d7e749eb22e9c691 to your computer and use it in GitHub Desktop.

Revisions

  1. Connor Leech created this gist Jul 11, 2017.
    14 changes: 14 additions & 0 deletions create_laravel_app.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    #!/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