I have a one page form, which data needs to be saved to 2 tables - Company and User. A Company has m...
Hi, im having this issue, more info http://help.laravel.io/628636319849786ae066f7dfe72389b0e1d3e140,...
I have two eloquent model: Foo and Bar. class Foo extends \Eloquent { public function bar()...
hi for bad english writeing excusme when try to connect db and read some data any way my response co...
Hi im trying to query my tasks table. A little background information on the tables and how they are...
Hi... maybe it's a newbie question... these are my first steps with Laravel.. suppose I have in Post...
I'm currently building a REST API with laravel. I'm trying to implement filtering of results on a ro...
I have a model called 'Charges' which stores charges made by someone. I want to sum all the charges...
Hey, I'm new in using frameworks and I tried to figure out, how to do simple insert, edit, delete by...
How do I use curdate() in a query in Laravel?
Hello everyone, I'm using form::model for data editing, works correct but return empty checkbox, how...
Hi, I want to have sql query like this: SELECT * FROM "public".user inner join ( SELE...
Hey folks, There are times when heavy model customization is required, and I want to access data wit...
i've been able to construct a join and it works: $projects = Main::join('builds', 'mains.build_id',...
Hi, I am trying to create a beautiful API. Lets assume we have 2 tables, relationship one-to-many (a...
I have the following query that needs to count how many occurrences there is of the events (using an...
I was searching the internet I saw many results saying its possible, tried some of them but I'm unab...
There are two ways to create new record in laravel $model = new MyModel; $model->field1 = 'value1...
Hi guys! I have a posts table and a post may have one media. It can be a video or a gallery. This is...
Hi, I have a boolean column in table. I have also added that field in $fillable in modal class. When...
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