Support the ongoing development of Laravel.io →
posted 10 years ago
Packages

Our company has various CMSs interacting with our API. All these CMSs now need a GUI for interacting with a particular part of the API so I was thinking of building a package.

I have previously read that packages should be platform independent? In our case the package would be specific to our environment's CMSs which all run Laravel. Im guessing that because of this rule the package can be more platform dependent?

My main question is that there will be some JS and CSS that will be GUI specific. Is it fine to put these in the package and what would my HTML embed URL be then? Basically if I tell composer to require this package on another project and the JS/CSS is inside the package how do I access the JS/CSS with the view's HTML?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Wancieho wancieho Joined 17 Apr 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.

© 2025 Laravel.io - All rights reserved.