Create Project
Installing Laravel
Via Laravel Installer
$ composer global require laravel/installer
$HOME/.config/composer/vendor/bin
$ laravel new app
Via Composer Create-Project
$ composer create-project --prefer-dist laravel/laravel app
Via Github
$ git clone https://github.com/laravel/laravel.git app
$ cd app
$ composer install
$ php artisan key:generate --ansi
Docker Example
https://ifpb.github.io/php-guide/packages/laravel/create-project/docker-composer-laravel.zip
$ wget https://ifpb.github.io/php-guide/packages/laravel/create-project/docker-composer-laravel.zip
$ unzip docker-composer-laravel.zip
$ cd docker-composer-laravel
$ docker-compose up -d
$ docker-compose ps
$ docker-compose exec php php artisan list
$ docker-compose exec php php artisan migrate
$ docker-compose down
$ id -a
$ docker-compose exec php sh
# chmod -R 777 storage/
# chown -R 1000:1000 .