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

Controller that affects all views

Use a single view as template for all views or extends BaseController, and use View::share($arrayOfD...

0 Likes
Solved
replied 11 years ago

Quick question regarding error handling in restful API

I don't understand what do you mean with: I would have to make n conditional to catch everything...

0 Likes
replied 11 years ago

Testing and usage of the Ioc Container

If you can mock all your dependencies you'll be fine.

0 Likes
replied 11 years ago

Relationship Query

use: with('sections')

0 Likes
replied 11 years ago

Returning collections from a given user in the Collections controller

$collections in your first example is an instance of query builder, try this: $collections = Collect...

0 Likes
Solved

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.