Here is quite good tutorial:
Every time add some model or library files, run composer dump-auto command, otherwise looks it will not woks.
Laravel command ‘Permission denied’
Just using installer as document, very easy. But when try to run laravel command, I got a ‘Permission denied’ error. The solution is to set the file to 755 by using sudo chmod 755 laravel
‘error in exception handler. ‘
After install, try to open laravel/blog/public, but got a error ‘error in exception handler. ‘ . The solution is changing permission again. The reason is app/storage’s permission is not writeable.
chmod -R 777 storage
Above will solve the problem.