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

Sorting Issues with Eager Loading and where statement depending on eager loaded model

Hey all, <?php $offers = Car::with(array('Bids' => function($query){ $query->o...

0 Likes
2 Replies

Display Categories in Hierarchy with Baum Package

Hello, I use the baum nested sets package for my laravel project to create parent and child categori...

0 Likes
1 Replies
Solved

Update two or more table with relations

Hello, I have 2 tables (or more) with relations, user_details and addresses. class UserDetail extend...

0 Likes
4 Replies

routes.php not working

Hi, I am coming from CodeIgniter Development and am fresh to Laravel. Unfortunately I have troubles...

0 Likes
4 Replies
Solved

Blade inline section (or other suitable method)

Hey Is there a neat way to make small inline sections yet? Inline as in, on the same line. I tried...

0 Likes
2 Replies
Solved
posted 10 years ago

Basic test help - How to test a route

Hello, Can anyone please help me get a basic test up and running? I have my test file FooTest.php in...

0 Likes
0 Replies

pagination and "up next 5 article"

hi all, i'm want to do pagination with eager loading and i also want to show like 5 next article lin...

0 Likes
0 Replies
posted 10 years ago

Laravel 5 - route annotations not working

Hi, a create a DashboardController (copy of HomeController) <?php namespace App\Http\Controllers;...

0 Likes
4 Replies
Solved

Returning Data to View from Redirector

Please, how can i return the $errmsg to the view. since i already have withInput and withErrors...wh...

0 Likes
1 Replies
posted 10 years ago

Global path to image directory...?

Hey developers, I know global variables are the tool of the devil, but I'd imagine a globally define...

0 Likes
0 Replies
posted 10 years ago

extend 2 blades, populate 1 and then the other with the first

I hope I am able to explain this, so that you will understand what I'm trying to obtain. I think my...

0 Likes
1 Replies
posted 10 years ago

A single function to call whenever a Model or any of its related models get updated.

I know about the (saving,saved,updating,etc.) model events. But my problem is slightly different. I'...

0 Likes
3 Replies

convert many to many (but only one related item) mysql query to a laravel query object

Hi I'm having trouble converting a mysql query that I've been working on into a laravel eloquent que...

0 Likes
0 Replies

stuck with serviceprovider app bind inside register not consistent

Hi there, I have a ServiceProvider which registers my binding for my interfaces. This works totally...

0 Likes
2 Replies

Problem with Frozennode administartor. There are problems with your administrator.php config: The menu field is required.

Hi, I've installed administrator but I can't manage to make it work. I'm always getting this error:...

0 Likes
3 Replies
Solved

which one "workbench" or "module package" to create multiple projects/sub app

which one "workbench" or "module package" to create multiple projects/sub app. P...

0 Likes
0 Replies

Hexagonal architecture in Laravel

Hi! I've been reading up a bit about Hexagonal Architecture and i really like the concept. In a proj...

0 Likes
9 Replies

Laravel 4 Deployment

Hi, I have a Laravel 4 application working fine on my local machine. I've cloned it onto my VPS. Whe...

0 Likes
1 Replies

Vagrant SSH connection timeout

I'm trying to setup a Homestead environment and I'm having some issues when running 'vagrant up'. I'...

0 Likes
1 Replies
posted 10 years ago

Call method on all pages

How can I call a method on all pages? I want to be able to make redirects with messages and attribut...

0 Likes
4 Replies
Solved

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.