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

Two field in combination should be unique in Database

As it says, your data doesn't respect this uniqueness. You have pair duplicates. You should take car...

0 Likes
replied 11 years ago

Two field in combination should be unique in Database

You can do this in your migration file: Schema::create('devplans', function ($table) { // ......

0 Likes
replied 11 years ago

Change response to JSON in after filter

@Carlsson87 thank you for details explanation how it works :) I still don't know what to do though....

0 Likes
replied 11 years ago

Create a master file from template

Can you show some code?

0 Likes
replied 11 years ago

How to use this query in laravel

Turn on debug mode. lists() method returns array, which doesn't have join() method. Plus, you'd prob...

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.