Support the ongoing development of Laravel.io →
Architecture
Last updated 1 year ago.
0

As for me, packge is just logical, I somehow hate the package that working with my database, it's feel like I can not control it.

If my package have to communicate with the database, I prefer to defining a PackageTableInterface and working with it. Then in my application logic, I will do an implementation for that interface.

Btw, it's just my practice, not best practice.

Last updated 1 year ago.
0

I would have liked an answer to this too as i am in the same situation

0

Sign in to participate in this thread!

Eventy

Your banner here too?

keebeegee keebeegee Joined 18 May 2014

Moderators

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.

© 2024 Laravel.io - All rights reserved.