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.

v2.2.3 2022-12-08 14:47 UTC

This package is auto-updated.

Last update: 2024-04-08 17:39:10 UTC


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