We have PHP 7 on the way. Laravel is quite ambitious when it comes to support for new PHP versions,...
I'm trying to load some view in Laravel 5.1 exception handler (/app/Exceptions/Handler.php). In my r...
I'd like to be able to have multiple dynamic routes that can interrupt each other. For example, I ha...
Guys, do you always use Controller suffix in controller classes names? I do, but I'm now thinking if...
I have a problem with php artisan app:name [name] command on fresh instance of Laravel 5.1. When I r...
Year model? I don't think year is something that should be a model, it's just simple information.
You should concatenate your fields to one string first. I don't know what format you use, but here's...
The difference is the return type. find() returns a model object, but whereId() returns an instance...
I'll try to be a bit clearer. I have a file in /views/layout.blade.php. It contains whole HTML templ...
I found out even easier solution with View::composer() method. In my /bootstrap/start.php I put: Vie...
The Laravel portal for problem solving, knowledge sharing and community building.