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...
I don't understand your question. Do you keep all the books in your $books? You should paginate in O...
It doesn't matter, they do the same thing :) I'd go with Input, because it's more abstract.
This condition: (int)$textToSearch Doesn't check if it's numeric or not. It firstly casts your stri...
Of course it's possible! You are very close to the answer actually :D Instead of this: if ((int)$tex...
The Laravel portal for problem solving, knowledge sharing and community building.