Support the ongoing development of Laravel.io →
codeATbusiness

codeATbusiness

Joined 4 May 2014

Statistics

Threads 14
Replies 127
Solutions 8
Articles 0

Aggregate, Aggregate Roots and Repositories managent with Laravel

Hi, I was working with some Entities that may contain some other dependent Entities or Value Objects...

0 Likes
0 Replies

Get more knowledge about how Laravel implements Design Patterns

I'm trying to understand better how Laravel implements the basic design patterns (creational, struct...

0 Likes
0 Replies

Question about namespace in the Group Routes

I'm trying to see the utility of the following sample code from Laravel Quickstart Route::group(arra...

0 Likes
2 Replies
Solved

Use connections table to source the Eloquent connections

Dear friends, How could be possible to use a database table as a connection container in place of us...

0 Likes
0 Replies

Access to static functions if I inject a Model instance into BasicRepository

How could I do to get access to the all(), find(), and all Model static functions if I'm using an in...

0 Likes
6 Replies
Solved
replied 11 years ago

Can not add constraint foreign key

Hi swgj19, If you have any table than it has a foreign key on a related base table, you need, in the...

0 Likes
replied 11 years ago

Cannot add foreign key constraint

Sorry maybe i explain bad in the previous post and put the same name to the Foreign keys.

0 Likes
replied 11 years ago

Cannot add foreign key constraint

H tklement, Don't worry, you are welcome! You are duplicating your foreignkey definition because you...

0 Likes
replied 11 years ago

Paginate & Distinct

Could you put how did you obtain the resource data from your Model and how did you make accesible in...

0 Likes
replied 11 years ago

Cannot add foreign key constraint

Hi tklement, When you add the reference to the employee_service table for the others table (employee...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.