Support the ongoing development of Laravel.io →
posted 11 years ago

How to do aggregate on many-to-many relations in Laravel Eloquent?

I'm following http://laravel.com/docs/eloquent#many-to-many Of course, with difference case. How to...

0 Likes
0 Replies
posted 11 years ago

Deep relations

Hello everyone, I don't really know how to solve this in a 'proper' way, anything that I can come up...

0 Likes
1 Replies

custom login filter not redirecting to calling page

I picked up development of an orphaned project using SimpleSAMLphp for SSO, and I'm trying to finish...

0 Likes
1 Replies
Solved

Short URL path with Restful Controllers?

Hi all I would like to know if and how it's possible to use a URL like this: "site/admin"...

0 Likes
1 Replies
posted 11 years ago

Trouble Installing QuickRoutes Package

I'm trying to use a package to help simplify route maintenance but am running into trouble attemptin...

0 Likes
3 Replies

using many to many primary id as foreign key

categories id, name products id, name products_categories id, product_id, category_id cards id, prod...

0 Likes
0 Replies

Request::server('HTTP_HOST') returns localhost within a helper class

I want to get the current domain, using Request::server('HTTP_HOST') - however when I call this from...

0 Likes
0 Replies

another eager loading question

i have a category with many products with many pictures This returns all products for a category wit...

0 Likes
1 Replies
Solved

Delete relations/child relations without CASCADE

I have the following models (example!). When deleting a tutorial I'm expecting the 'deleted' method...

0 Likes
1 Replies

Max date issue solved

In case anyone else runs into a place where you need to bring table results and get the most recent...

0 Likes
0 Replies

How to debug "artisan serve" in PHPStorm?

Hello! I'm used to debug PHP scripts in PHPStorm via xdebug. How could I debug Laravel with xdebug?...

0 Likes
2 Replies

Auth::check() code in view doesn't work

I'm trying to use Auth functionality. The problem is that if in my view i have the following code: &...

0 Likes
2 Replies
Solved
posted 11 years ago

Input::old and value from array

Hi, in my template I have: @for($i = 0; $i < 4; $i++) {{ dd(Input::old('custom_link.0.ti...

0 Likes
1 Replies
Solved

Use DISTINCT on joined columns with Query builder

I've got two tables products and artifacts who are in a one-to-many-relationship to each other. Now...

0 Likes
1 Replies
posted 11 years ago

Valid route throwing 404

I have a routes.php /* * Web */ Route::group(['namespace' => '\Smartii\Controllers\Web'], funct...

0 Likes
2 Replies
Solved
posted 11 years ago

Get view data

Hi Guys, I need to get the view data i found the View::getData() method in the api but i can not cal...

0 Likes
3 Replies
posted 11 years ago

Queue Optimization

Welcome Laravelians; I Spent long time dealing with laravel approach for queues and I've noticed it...

0 Likes
0 Replies

Update existing row with unique rule (validation fails)

Hi, first question I cant find working answer. Laravel 4.1 ###rules public static $rules = [ 'name'...

0 Likes
7 Replies
Solved

Artisan cron non functional

I have got a page which queues up emails in beanstalked. The script works as intended, the emails ge...

0 Likes
2 Replies

eloquent auth driver users and admins in same table?

ok so I'm looking to create a system with users and admins, who will be separate. ideally i don't wa...

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