Support the ongoing development of Laravel.io →

Laravel database failover?

Hey does anyone know if there is a relatively simple way to manage the database connection for failo...

0 Likes
0 Replies

Override Password encryption method for User model

Hi All I am using Laravel on top on an existing database. Another application is still also using th...

0 Likes
3 Replies

Multi-Auth-Driver (ldap&eloquent)

I'm searching multi-auth package that can use both eloquent and ldap. I tried with kbwebs/multiauth...

0 Likes
0 Replies
posted 9 years ago

L5.1 - a single route not working inside Route::group

I have a single route (out of multitude), which doesn't want to work when placed inside group: Route...

0 Likes
0 Replies
posted 9 years ago

Laravel Query returning Null ids

Okay I have a some code written to retrieve data from some left join in my database, after retrievin...

0 Likes
1 Replies

Concurring user models and authentication

Dear fellow devs, I have come to a problem that I can't happen to solve properly (or clean at least)...

0 Likes
0 Replies

PUT and PATCH method not allowed

Hi, I'm using Laravel 5.2 inside Laravel Homestead 4.0.0 that is powered by nginx 1.9.7. I've been t...

0 Likes
2 Replies

defined route is inaccessible

Hi all, I am a beginner in laravel, I am following the following course to learn routing in laravel:...

0 Likes
1 Replies
posted 9 years ago

can't call User model in AuthController validator method

Hi, I want to call a static property of my model \App\User in the validator method of the default La...

0 Likes
3 Replies
Solved
posted 9 years ago

Pagination links "Method Not Allowed" after Ajax Request returns paginated view

I have a page that has a paginated lists of items. To narrow the list, I have a filter that is an aj...

0 Likes
2 Replies
posted 9 years ago

Getting Current Route name inside the Model

Hi, How will I get Current Route name as in controllers like if (Route::currentRouteName() == 'XYZ')...

0 Likes
3 Replies

Query Builder - "orderBy()" when fetching data with "with()"

Hi all! I've got an Order model that hasOne('customer') bind to itself. I want to query something li...

0 Likes
5 Replies

Is there a way to sort whole collection based on related model.

Hi, all. I have a query builder question. I want the result to be sorted by a field in a related mod...

0 Likes
0 Replies
posted 9 years ago

Jobs are are using different paths on execution.

Hi, I have a job that creates a default profile image when an user is created. I'm doing this: image...

0 Likes
0 Replies

MySQL partitions and Schema Builder

Hi, I will start working in a new project that requires a massive database (tens of million rows) in...

0 Likes
0 Replies

Table reverting to old name, hidden variables?

I started playing around / learning laravel. Got everything set up and made a few models: artists s...

0 Likes
2 Replies

eager load with sum() on relations

Hi Artisans, I am trying to figure out how to reduce number of queries when I am doing this kind of...

0 Likes
1 Replies

Nested relationships Model::with query

Im trying to simply get a tree back from eloquent. Windows::with('event.action'); returns all action...

0 Likes
0 Replies

$errors not found & logout not working?

Hello guys, I'm new to Laravel. I just played around with some methods and made already a few little...

0 Likes
6 Replies
Solved

Eager loading, collection of relations

Hi guys, How to get results of secondary query? Ofc I could merge all related collections: $paramet...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2025 Laravel.io - All rights reserved.