Test environment for Laravel PHP framework.
Build images:
docker-compose build
Run images in background (containers names: "laravel" and "laravel-mysql")
docker-compose up -d
To go inside container for work:
docker exec -it laravel zsh
From Host, go to http://localhost/laravel5/public
- To turn off autoindent when you paste code in vim:
:set paste
(turn on::set nopaste
) - Laravel debug tool bar Laravel debug bar: barryvdh
- Console:
php artisan tinker
- Clear the compiled classes:
php artisan clear-compiled