Greetings to community! I want to get help from Eloquent masters. I have a Query Builder query: $cit...
$categories = Category::with(['posts'=> function($query) { $query->take(4); }])->get() $...
Hello! Am right about the following behaviour? (I am using Laravel 4.1) When having a simple one to...
quyle92 liked this thread
How to create a binary size 16 (uuid) column ? (for MySQL)
Hi all, i'm fighting with IoC container. My goal is to have dependency injection as in the documenta...
Hi, I often have to refresh the page after updating the images through a form to see the latest uplo...
I have a Product model, an Option model, and a ProductOptionPivot model. A collection of Option mode...
The first I add vagrant box add laravel/homestead And I had Clone https://github.com/laravel/homest...
How to use ->setCallbacks in chumper's data table so I can Add a sum Row at the buttom of the tab...
I have in my post controller: return Redirect::back()->withInput()->withErrors($validator)...
I'd need to do an if clause in case a validation error occurs. For "normal" fields, i can...
Laravel Eloquent query builder suffers grouping by a column and counting the results for the paginat...
Now I have news category,news, and news image table structure like this and i want to make a list l...
Hi Guys, So firstly here is some code ... http://laravel.io/bin/Ld6Gx So I have a user model, and th...
I have this in views and work fine (show only first five): @foreach ( $tema->posts()->paginate...
I keep having to destroy, then vagrant up when adding more sites, is there another way? reload doesn...
Sorry this is not strictly a Laravel question, however I am trying to use GIT deployment with Larave...
Hey, i want to make a ban system, and i do not know how to redirect a user to a "You're banned&...
i have a table in mysql ( ques_id (auto increment , primary) , ques_title (string) ) . By using eloq...
Hello! It is ok to store saving logic in a controller like this (PostController.php): public fun...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community