Support the ongoing development of Laravel.io →

How to publish laravel?

I've been strugling about publishing my test aplication on a shared host. I've uploaded all my appli...

0 Likes
4 Replies
Solved
posted 12 years ago

Get dynamic properties from a Facade

Hi everybody, Is it possible to retrieve a dynamic property accessible by __get() from a Facade? Thi...

0 Likes
6 Replies
Solved

Fillable and guarded, when to use which

I know what each one does, fillable being a whitelist of columns/attributes that I was to explicitly...

0 Likes
3 Replies
Solved
posted 11 years ago

stolz/assets not working

I installed stolz/assets as an alternative to Basset. I followed the install and config instructions...

0 Likes
1 Replies

Can you explain about folders and sites details in Homestead.yaml

Can you explain about folders and sites details in Homestead.yaml? I am so confusing about those two...

0 Likes
1 Replies

[Package] laravel-navigator

Hey guys, In my recent project I built simple way to built multidimensional menus without nesting a...

0 Likes
0 Replies

Use our own classes

Hi. We have a web application, and its frontend is not using Laravel yet because it started some yea...

0 Likes
1 Replies

[Package] Database Schema Spy

Laravel SchemaSpy Laravel SchemaSpy is a Laravel artisan command that acts as an interface for the p...

0 Likes
0 Replies

Query Builder query using Eloquent syntax

Greetings to community! I want to get help from Eloquent masters. I have a Query Builder query: $cit...

0 Likes
3 Replies
posted 11 years ago

filter collection with children

$categories = Category::with(['posts'=> function($query) { $query->take(4); }])->get() $...

0 Likes
5 Replies

Eager Loading - "first()" vs. dynamic properties

Hello! Am right about the following behaviour? (I am using Laravel 4.1) When having a simple one to...

1 Likes
4 Replies
Solved
posted 11 years ago

binary size 16 columns ?

How to create a binary size 16 (uuid) column ? (for MySQL)

0 Likes
1 Replies

IoC Container resolution error

Hi all, i'm fighting with IoC container. My goal is to have dependency injection as in the documenta...

0 Likes
6 Replies
Solved

Update images

Hi, I often have to refresh the page after updating the images through a form to see the latest uplo...

0 Likes
0 Replies

Custom Pivot Model - Doing belongsToMany uses parent model id, NOT pivot model id

I have a Product model, an Option model, and a ProductOptionPivot model. A collection of Option mode...

0 Likes
6 Replies
Solved

Setup Homestead

The first I add vagrant box add laravel/homestead And I had Clone https://github.com/laravel/homest...

0 Likes
1 Replies

using setCallbacks in Chumpers DataTable

How to use ->setCallbacks in chumper's data table so I can Add a sum Row at the buttom of the tab...

0 Likes
0 Replies

Modify one part of Input::old()

I have in my post controller: return Redirect::back()->withInput()->withErrors($validator)...

0 Likes
2 Replies
Solved
posted 11 years ago

Custom validation - get name of returned error

I'd need to do an if clause in case a validation error occurs. For "normal" fields, i can...

0 Likes
2 Replies
Solved

Group by pagination without performance issues when there is over 15K results.

Laravel Eloquent query builder suffers grouping by a column and counting the results for the paginat...

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.

© 2026 Laravel.io - All rights reserved.