Support the ongoing development of Laravel.io →
damienadermann

damienadermann

Joined 3 Apr 2014

Statistics

Threads 1
Replies 67
Solutions 10
Articles 0
posted 11 years ago

Valid route throwing 404

I have a routes.php /* * Web */ Route::group(['namespace' => '\Smartii\Controllers\Web'], funct...

0 Likes
2 Replies
Solved
replied 11 years ago

Model relationship to insert related data

You should be using is_numeric instead of is_integer is_integer(1) //true is_integer('1') //false i...

0 Likes
Solved
replied 11 years ago

How can i do this???? $this->hasMany( ) ->select()->where()

You are going against MVC here. It seems like you are trying to decide what parts of the Model you w...

0 Likes
replied 11 years ago

Inject a webservice into a custom validator.

If you are using php 5.4 you can use $this->app in the closure. $this->app->validator->r...

0 Likes
replied 11 years ago

Best practice to separate admin/user controllers

I haven't tested this but I imagine something like this could work //defined elsewhere $langAbbrevia...

0 Likes
replied 11 years ago

If user logged in redirect to profile. Why use filter?

Auth is something you will be doing on most actions. So much code can be saved by putting your auth...

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.