Inside my function that is triggered by the 'created' model event, my object id is 0. My id column i...
I have tried in tinker cli: Schema::drop('pages') but it just drops the table 'pages', how can i dr...
Hi all, I have 3 tables: books, authors, and publishers. Books-authors and authors-publishers have o...
I need help writing a query in eloquent from three tables, where fields table, field_value and users...
I am simply just doing this $me = \Auth::user(); return $me->program()->get(); GIVES me; Inva...
Hi, into a migrations file, is it possible to define a logical view creation? or just only normal ta...
I have a lot of form fields on my html page, so how can i quickly map each form field name to its co...
hi i have multiple categories and each category has many posts, i want fetch 4 last posts for each c...
I've seen some threads that are potentially similar (e.g. http://laravel.io/forum/05-01-2014-eloquen...
fakhriahmedoff liked this thread
I can't "translate" the SQL Query below to Laravel, how I can make this? SELECT SUM(transa...
#What is Laravel Single table inheritance? Laravel Single table inheritance is a Laravel4 package to...
Hello, I am making a community site for pet lovers and I am facing a design question. Lets say I hav...
I need to be able to execute mysql queries that utilize tables from more than one database in the sa...
Hello guys, I'm trying to make a post with comments system but i'm stuck at the part with relationsh...
Hi there, today I was re-doing the structure of my application and I had this problem: 1 table conta...
object(Illuminate\Database\Eloquent\Collection)#651 (1) { ["items":protected]=> array(8...
I am struggling to fix the following SQL error: SQLSTATE[42S22]: Column not found: 1054 Unknown colu...
I'm looking into using the built in support of Redis in Laravel for a notification system. I'm tryin...
Hello Laravel Community! I'm trying to use a Dynamic Where Query, however it end up throwing a error...
On Laravel "4.1.29", I have several different type of users. Each type of user has it's ow...
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