So I've been following https://laracasts.com/series/laravel-5-from-scratch/episodes/8 and I've got to the part where he first uses Eloquent, however when I try to do the same thing he does I get a Class 'App\Song' not found error?
Here is my files: http://laravel.io/bin/qQrOo#
neomerx said:
$ composer dump -o ?
Oh okay that seems to have worked o.O
What exactly did that do?
I also had this problem, and I had simply forgotten to put namespace App
in Song.php
.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community