Support the ongoing development of Laravel.io →
longilineo

longilineo

Joined 8 Feb 2014

Statistics

Threads 7
Replies 68
Solutions 15
Articles 0
posted 11 years ago

jsonp in laravel

I'm trying to query a restful webservice written in laravel using $.getJSON (jquery). But the cross...

0 Likes
1 Replies
Solved
posted 11 years ago

belongsToMany ignore accessor

Using belongsToMany custom accessor methods are ignored. Why?

0 Likes
0 Replies

handling errors from controller

I would like to use main template also for error views. Main template works only if i call it from c...

0 Likes
0 Replies
posted 11 years ago

hide public/index.php in url mantaining assets accessible

I'm trying to hide public/index.php url, mantaining assets file and folders (in public folder) acces...

0 Likes
6 Replies
Solved

override Auth::user() for all drivers

I just need to override Auth::user() for all the auth drivers. I don't think it's possible to use Au...

0 Likes
0 Replies
replied 11 years ago

Controllers, Views and good practice

Are you trying to access to nbDocuments method as a property? $country->nbDocuments instead of $c...

0 Likes
replied 11 years ago

Tracing database changes

if you don't want to implement from scratch your own audit mechanism, give a try to this package: ht...

0 Likes
replied 11 years ago

Tracing database changes

Model events and observers should be the right way to achieve this goal. Take a look at: http://lara...

0 Likes
replied 11 years ago

Controllers, Views and good practice

move all the logic to calculate sums in your models (Continens and Cities); in controller retrieve...

0 Likes
Solved
replied 11 years ago

wanna change ->withErrors

Maybe: ->with(array("messages"=>$this->user->errors));

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.