I want to remove all related child categories from parent categories. I think I need a recursive function to solve this. Here is my attempt: public function de
I have a Laravel collection and I want to modify one of its property value to negative integer. For this I am using the collection map method but it also modify
In my Laravel project, I use nwidart package for making modules. Now I want to add deleted_at column to an existing model. I should make a new migration in my m
I am using Eloquent together with Laravel 4's Pagination class. Problem: When there are some GET parameters in the URL, eg: http://site.com/users?gender=female
I just started playing with Laravel 4 and Eloquent. I have a blog table and lots of other related tables to it: blog <- main info about the blog record blog
I just started playing with Laravel 4 and Eloquent. I have a blog table and lots of other related tables to it: blog <- main info about the blog record blog