Hi there, I have the folloing Tables: Partner id int name varchar booking id int id_partner int bo...
I make a Laravel 5 starter site with boostrap 3 and datatable. You can download it from here: https:...
Since i upgraded to 5.3. i can not pass model from blade template to my contoller. Every Model i pas...
Hi! I'm new in Laravel and I have a little problem with User and Roles. In a database I have users a...
Controller: public function editar($id){ $emitentes = Emitente::all(); $destinatarios = destinatario...
Hello, Im using Laravel 5.3 Id like to allow registrations just for users who are currently logged i...
Hi Guys I have this query: $user = Auth::user(); $user->jobs()->get(); where jobs is a bel...
Hey folks. I tried to override find on a model like this namespace App; use Illuminate\Database\Eloq...
My domain model looks like this: Person id first_name last_name other fields Position person_id c...
Hi, how to select all records from table group by created_at? When I get all rows from table it retu...
I'm trying to use Auth within a global scope which seems to be working fine and doesn't effect the a...
Hi, I need to pass some 'virtual' fields to my model when passing JSON. I've started with the very b...
So I'm kind of following the Laracasts Many To Many tutorial in Laravel5 Fundamentals and have the M...
I have two tables users id | name images id | user_id User model class User extends Authenticatabl...
I have only a single model with a self join class OfficeType extends Model { protected $table =...
Hi, i'try to use this package with laravel-translatable, there is any possibility to search in trans...
Considering this: $filters = 'where('id', 10)'; Is there any way to then use this in a eloquent str...
insert into `combined_results_by_typecode` (product_id, typecode, group_id, group_name, passed_count...
I have following MySQL table structure: posts table: posts: {id(PK), title, content, slug, date, wri...
What I am trying to do is set a column to be a foreign key. Following the documentation, it's prett...
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