Support the ongoing development of Laravel.io →
geocine

geocine

Joined 10 Feb 2014

Statistics

Threads 6
Replies 19
Solutions 3
Articles 0

Conditional route middleware and namespace mapping?

Is this possible something like this: if(Auth::user()->isCompany()){ $middleware = "auth...

0 Likes
2 Replies

After many GET requests via AJAX I get 401 Unauthorized

I am using Laravel 5. After too many GET requests via ajax, let's say an ajax request that gets fire...

0 Likes
2 Replies

Installing Laravel in a subfolder?

I am in the process of rewriting a site(doesn't use any framework) to laravel. For now my first task...

0 Likes
3 Replies
posted 11 years ago

Getting started with unit testing

I haven't really written any unit tests as it goes in the way with deadlines . Please don't get me w...

0 Likes
2 Replies

Eager Loading + Join

If I do this, I would be able to retrieve the images() for the item $items = Item::all(); foreach($i...

0 Likes
2 Replies
replied 11 years ago

Combining two query (WhereIn with Where) x 2

@RainbowHat, that is an anonymous function

0 Likes
replied 11 years ago

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

This is not the best solution as it will do multiple queries $post_ids = Confirm::select('post_id')-...

0 Likes
Solved
replied 11 years ago

Eloquent Model outside Laravel, updating/deleting not working

I am also using capsule and I cannot get to update . I am using sqlite. It works fine on mysql thoug...

0 Likes
replied 11 years ago

Change data connection Laravel 4

How about this? http://fideloper.com/laravel-multiple-database-connections

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.