Support the ongoing development of Laravel.io →
kokokurak

kokokurak

Joined 21 Aug 2014

Statistics

Threads 31
Replies 132
Solutions 19
Articles 0
posted 10 years ago

Do you want Laravel to go strict?

We have PHP 7 on the way. Laravel is quite ambitious when it comes to support for new PHP versions,...

0 Likes
2 Replies

Are views in exception handler broken in Laravel 5.1?

I'm trying to load some view in Laravel 5.1 exception handler (/app/Exceptions/Handler.php). In my r...

0 Likes
0 Replies

Ignore route if controller returns null

I'd like to be able to have multiple dynamic routes that can interrupt each other. For example, I ha...

0 Likes
0 Replies
posted 10 years ago

Pure controller class names?

Guys, do you always use Controller suffix in controller classes names? I do, but I'm now thinking if...

1 Likes
0 Replies

Error on php artisan app:name in Laravel 5.1

I have a problem with php artisan app:name [name] command on fresh instance of Laravel 5.1. When I r...

0 Likes
3 Replies
Solved
replied 11 years ago

How to use Many 2 Many and a custom date?

Year model? I don't think year is something that should be a model, it's just simple information.

0 Likes
replied 11 years ago

How can i validate an integer to be in a specific range

You should concatenate your fields to one string first. I don't know what format you use, but here's...

0 Likes
replied 11 years ago

find($id) and whereId($id)

The difference is the return type. find() returns a model object, but whereId() returns an instance...

0 Likes
Solved
replied 11 years ago

Pass view to layout

I'll try to be a bit clearer. I have a file in /views/layout.blade.php. It contains whole HTML templ...

0 Likes
replied 11 years ago

Inject controller name to layout

I found out even easier solution with View::composer() method. In my /bootstrap/start.php I put: Vie...

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.