I\'m new to Laravel 5 and trying to understand it bit by bit and at the moment I\'m really confused with error messages. MVC is new thing to me.
What I\'m trying to
What caused this for me was having lines commented with //. The // can be on its own line or at the end of the line. Also having comma at the end can cause this.
Removing the comments solved this. And/or removing the extra ending comma.
The error happens for "composer update", and artisan commands such as "php artisan make:controller TestsController --resource", or "php artisan make:model Test"