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

Best practice populating forms?

Take a look at Form::model http://laravel.com/docs/4.2/html#form-model-binding You could do @if(isse...

0 Likes
Solved
replied 11 years ago

Custom 404 in Laravel 4.2 with Layout

I don't know if it work but you could create an ErrorsController with a method (es. erroraction) tha...

0 Likes
replied 11 years ago

SSH to View

$line is ssh output, you could put $line.PHP_EOL on session or do something like this: <?php cla...

0 Likes
Solved
replied 11 years ago

SSH to View

because ssh method is called before view rendering, and ssh method echoes $line. You could put $line...

0 Likes
replied 11 years ago

Convert the query in eloquent ( which relationship to use in user model )

If you have followed laravel documentation and have defined belongsToMany relations you could do sim...

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.