Support the ongoing development of Laravel.io →
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

"php5-fpm: unrecognized service" error on laravel homestead

Hi, I am using Laravel Homestead to get my laravel application running, but once i run the command &...

0 Likes
2 Replies

DB::raw as a parameter in another select statement.

Is it possible to make the customized column in database inside a new select clause using DB::raw()?...

0 Likes
0 Replies

Redirect to home page when trying to load pages

Hello. When trying to load pages like: localhost:8000/auth/register localhost:8000/auth/login it imm...

0 Likes
4 Replies
Solved

All routes other than default gives 404 with Nginx 1.9.9

I am running the sample project (http://www.laravel-angular.io/#/) which at the very least has the d...

0 Likes
1 Replies
Solved
posted 9 years ago

Problems on form preparation

Hi!! I follow this tutorial (http://www.easylaravelbook.com/blog/2015/02/09/creating-a-contact-form-...

0 Likes
0 Replies

Turn off eloquent events?

Is it possible to turn off eloquent events? Just temporarily, to stop myself getting into an event l...

0 Likes
2 Replies

How to update belongs to relationship

Hello I have an error when i update belongs to relationship User Model public function profile()...

0 Likes
0 Replies
posted 9 years ago

How to do that ? (Rules Form)

Hello, I have 3 fields : Type, NodeID and Keyword. I wish to required NodeID & Keyword if Type =...

0 Likes
0 Replies
posted 9 years ago

Laravel Session is not persisted through AngularJS call

I'm working with an AngularJS front-end and a Laravel 5.1 app. I have a route in my Laravel app whic...

0 Likes
5 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.