I have a post table and that post may be included in multiple sections so now I have 3 tables: post...
I want to use the created_at, updated_at and deleted_at fields with unix timestamp.
I am attempting to create a pivot table and ran the cmd: php artisan generate:pivot contractor work...
Hey guys, just working on a small package that extends the Eloquent Model class and Query Builder cl...
Hi; How can I see binded sql? $data = Admin::whereRaw('email = ? ', array($email))->get();
Hi I'm writing a small app and I am trying to set the default Carbon date format. I have an eloquent...
I prefer using foreign key columns wihout any suffix (like 'user' rather than 'user_id'). I can live...
hi everyone according to the question, i want to get column name when update a record. i need this i...
I'm looking for the best approach to add an InsertIgnore method to Laravel's query builder. I can ac...
Hy all, I'm quite a beginner with Laravel and trying to build a website for the world cup 2014 in Br...
Hi all, Is it possible to create an observable sync. I am using model::observe to log changes to mo...
Hi community, I want to create multiple objects with a single click, I want to be able to create a G...
Hi guys! Using laravel's pagination it creates a url with ?page=2 but I want my url to be /page/2. I...
My current project force me to use zend framework. However, i'm familiar with Laravel framework, esp...
Hi. I'm migrating an old database to a Laravel-based app. One issue I'm coming across is that during...
Hi I have one scenrio. their is static content in database table. My table look like this. id ti...
Hi, i have a little problem trying to order the first table based on the second table column. Table:...
For some reason, I cannot catch DB exceptions inside a seed class: the code never enters the catch b...
This is what I have done so far: public function scopeCityName($query) { return $query ->join...
I have two Collections (\Illuminate\Database\Eloquent\Collection) called $admins and $users. Both co...
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