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:...
This is what I have done so far: public function scopeCityName($query) { return $query ->join...
Hi All, New to Laravel and MVC so I'm a bit stuck and hoping I can get a solution from you. I have 3...
I get the message "depth too great" when querying a couple of relations. These are my mode...
I need to have some validation rules based on configuration files (those at app/config), so the rule...
As I have asked a few times before, I'm developing a website/CMS to a game server for which I can no...
I notice that laravel use 0000-00-00 00:00:00 for deleted_at time ,So i change data deleted_at like...
Hi i have controller and i am taking data like this $events= Eventm::with('teacher')->get(); th...
Hi. I am trying to do something like this : $name = Input::get('name'); $keywords = explode(' ', $na...
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...
Hello, is there a native way to determine if a model supports soft deleting? Something like: User::u...
I want to check if people are friends. I want to check if in a row both the authenticated user exist...
Hi, I am trying to create a beautiful API. Lets assume we have 2 tables, relationship one-to-many (a...
There are two ways to create new record in laravel $model = new MyModel; $model->field1 = 'value1...
How do i make eloquent: NOT assume that my primary key is only named 'id' set the $timestamps prope...
i have this join statement : Item::join('buttons', 'items.cta_id','=','buttons.id')->where('build...
I must be missing something obvious here... I have a model called PlanType and another called Pricin...
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