hi i have two problem that i don't know how to solve this situation: i have user role permission tab...
I have ClienteFornitore Model with hasOne relation to Pagamento Model public function pagamento(){...
I have an Address, Zip, City and State model and I would like to create an easy way to access the St...
Hey, i wanna update my data using array, but its error 'cause im using "like" query while...
I've just installed laravel 5.3.16 And I've added composer require jenssegers/mongodb package to my...
I'm following the Laravel from Scratch series from laracasts and am trying to build my own website....
I am currently trying to send an email to the mailtrap server to test whether the email confirmation...
how to write Laravel 5.4 Eloquent for the query like this, where ( (table1.fname like %xxxxx% ) OR (...
I have a model, say Model A. This model have polymorphic relationships with some other models. On de...
I am trying to implement a DB schema in which I have users that belong to one organization or more,...
I want to seed a mysql format date in my Model Factory which is like 2017-08-19 and use mt_rand or a...
Hello! I've got a following many-to-many relation: attendees - attendee_tag - tag where attendee_ta...
some packages comes pre-packed with its own models ex.Cart but sometimes i want to add some extra lo...
So I have relations : class Folder extends Model { public function files() { return...
Hi, I am just refactoring my code to follow some common patterns in application development. The pat...
Hi, I am having an issue with the Eloquent's cursor method. foreach (ORM::where('sent', false)->w...
At the moment I am trying to pass a value of a variable that is $images from my EntryController to t...
Does withDefault() work with a hasOne relationship? I haven't been able to get it to work.
Hi! I know, thist question has been discussed already in this forum. But sorry, i just don't get it....
Hello, I'm fetching a specific record with a DB table using MyTable::where(['type' => $sometype])...
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