What exactly isn't working? I'm guessing you don't have a category with the correct 'sef'. If this i...
If your public directory is not the document root of your server, this will happen. There are a few...
Either make it a static function or use Laravel's query scopes. http://laravel.com/docs/5.1/eloquent...
You return whatever you get back from the class. If this is your class... public function testClassM...
The Laravel portal for problem solving, knowledge sharing and community building.