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

Accessing $_ENV values best practice.

It's always better to make sure that array key exists before calling it. filter_input is fine.

0 Likes
replied 11 years ago

"eval" method for blade?

It's much better approach to store printf format string instead of anything for eval. So you could s...

0 Likes
replied 11 years ago

Namespaced models and controllers

Ehesp, I know how namespacing works in PHP :) I was curious if any external packages or Laravel's lo...

0 Likes
replied 11 years ago

Namespaced models and controllers

It's not just about conflicts. I generally dislike naming conventions forcing me to use prefixes or...

0 Likes
replied 11 years ago

Generate PDF

PDF generation is a view. You should return it in appropriate controller.

0 Likes

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.