I have to optimize a Haversine query that's got an odd syntax and can't be addressed by the usual _m...
Hey guys, I am having trouble figuring out how to properly update or create a models related model....
Hey, I'm trying to remove a record by unquie id using eloquent this is my first ever project in lara...
I am attempting to create a query scope since it gets called various times in the app so my first at...
Hi, I need some help with eloquent relationships. I have a 'User' table having two columns: 'latitud...
Hello guys, I was wondering how can i cache paginated collection this is my code so far. public fun...
So I have a database full of hardware components. I am willing to implement a function in which if t...
i'm start learn laravel few days ago, i try to follow tutorial in laravel 4 but i am using laravel 5...
Hi, I've just configured my routes correctly as i do usually: Route::get('/news/', 'PagesController@...
I am currently receiving the following error when I run my migrations: SQLSTATE[HY000]: General erro...
I'm looking for a little help. I have two tables. One is a standard table where I can search for the...
Hey, i've two Eloquent Collections with the following collumns: trackid, title, total (decimal) and...
Im trying to do the following query: $category = Input::has('categories') ? Input::get('categories')...
Hi, Sorry for noob question. I have a controller named Project, worknotes and attachments The relati...
I've merges 2 Collections: use Illuminate\Pagination\LengthAwarePaginator as Paginator; ... $towni...
Is there any better way to associate foreign keys with a record. This way is making my controller bu...
How to use marklogic super awesome document structuring and lightning fast search mechanism with lar...
Can someone help me to override a method from vendor using my custom class. vendor name: Cmgmyr\Mess...
projects id, name projects_services(1 project_id <-> M service_id) project_id, service_id serv...
My goal isn't all that lofty. I want to detect when the following: $current = Promovote::where('mod...
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