Hi, I have Category model based on Baum Nested Set (https://github.com/etrepat/baum) package and Cat...
I have a csv file with thousand of records. How can I use Eloquent model to import all data?
This Setter works well... public function setPoligonoAttribute($value) { $this->attributes['polig...
I got the following code and want the latest result. // Model public function getProfilePic() {...
Hello, can anyone help me with my problem. I can't seem to solve it. I want to show in blade view im...
Hi guys! I have a comments table and this table has four fields which are : id post_id type_id comm...
Hi guys! I have two databases main and beta. In my database.php file I have setup the connection to...
Hi, I've read the eloquent docs, but can't seem to find the answer - am I missing something? I am tr...
Hi All, I cannot find this in the docs or on SO, so i figured I would post my question here: I have...
I wonder if it is possible to order by list of strings using eloquent? http://stackoverflow.com/ques...
Hi! I'm really newbie and I'm not sure how to do queries with Eloquent. My SLQ query is this: SELECT...
i have an form that is set to upload an image and update a database with the image data (if needed)....
My application has to adapt to an existing database which uses integer timestamps instead of string...
I want to display 'Recent Comments' from comments table, including HotelName related to that Comment...
I have a Product model in which I use a getPriceAttribute($value) to display a products discounted p...
Hi! I have a little problem that I'm not quite sure how to solve it. To simplify, lets say that I ha...
In my controller I have: public function __construct() { $this->beforeFilter('auth', array('excep...
Hello I'm learning Laravel 4, and I came up to Eloquent relationships. I have two models, user and g...
Hi I had a few tests, no problem with phpunit execution. I added namespaces to my Models and control...
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