I know that Laravel has a wonderfully useful lists() method that you can use with either Eloquent or...
Hello So, I want to get routes like these myweb.com/account/company1/adm myweb.com/account/company2...
I am writing a custom package which I want to unittest. The package depends on the DB class from Lar...
Hi, I`m new with laravel and I have one question. I have to get some data from database and keep dat...
Hi, Using Laravel, what is your approach if you are in this scenario: Data is coming from an API. D...
I have two tables: members and contributions. The members table has a recursive relationship, that i...
I want to use the created_at, updated_at and deleted_at fields with unix timestamp.
Hi i am trying to set a a test to test my database calls. I want to pass a variables in url but cant...
I am attempting to create a pivot table and ran the cmd: php artisan generate:pivot contractor work...
Hey guys, just working on a small package that extends the Eloquent Model class and Query Builder cl...
Hi; How can I see binded sql? $data = Admin::whereRaw('email = ? ', array($email))->get();
I prefer using foreign key columns wihout any suffix (like 'user' rather than 'user_id'). I can live...
hi everyone according to the question, i want to get column name when update a record. i need this i...
I'm looking for the best approach to add an InsertIgnore method to Laravel's query builder. I can ac...
Hy all, I'm quite a beginner with Laravel and trying to build a website for the world cup 2014 in Br...
The website that is connected to a remote database is running slow, any tips/advice how this can be...
Hi community, I want to create multiple objects with a single click, I want to be able to create a G...
I have the Users and Items tables on a many-to-many relationship and what im trying to do is only di...
$cookie = Session::put('test','selected'); $test = Session::get('test'); dd($test); I'm getting sele...
<?php echo $users->appends(array('sort' => 'votes'))->links(); ?> I do a GET form sub...
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