mouf / html.utils.weblibrarymanager.component-installer
This Mouf package contains a Composer installer that will automatically create WebLibrary instances when a 'component' package is installed in Composer. It is designed to be used only with Mouf's WebLibraryManager.
Installs: 354 023
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 14
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: ^8
- composer-plugin-api: ^2.3
Requires (Dev)
- composer/composer: ^2.4
- mouf/html.utils.weblibrarymanager: ^4.0
- mouf/mouf: ^2.0
README
If you have been looking around for JS/CSS packages on Packagist, it is likely you have stumbled on "component/*" packages. These packages, designed by Rob Loach, provide a nice way to access JS/CSS ressources. For instance, have a look at the component/jquery package on Packagist.
The WebLibraryManager has a built in support for these components. If you import one of those composer packages in your project, the WebLibraryManager will detect these packages and will automatically create the WebLibrary instances matching those packages.
Check the WebLibraryManager documentation to learn more about it