Support the ongoing development of Laravel.io →
Architecture
Last updated 3 months 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 3 months 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!

LaraJobs

Your banner here too?

keebeegee keebeegee keebeegee Joined 18 May 2014

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.