skimia/assets

The awesome new Package

v0.1.3 2016-02-21 12:51 UTC

This package is not auto-updated.

Last update: 2024-10-26 19:32:26 UTC


README

Build Status Coverage Status Latest Stable Version Total Downloads License StyleCI Gitter

This package is based on Stolz/Assets for managing assets but in this package all asset must be configured in one configuration file.

exemple for add a new lib in my project

  • composer or npm require package
    • composer install the dep
  • go to assets configuration file & add a new collection with the correct files
    • find the documentation of the lib & extract all needed files
    • create a new collection based on this
  • go to your view or the global config of groups for add the newly defined collection

with skimia/assets (inspired by meteor)

  • composer or npm require package
    • composer install the dep
    • composer call the cmd for regenerate packages
    • if a newly defined collection is found the cmd prompt group by group if you wants to add this.
  • done
  • alternativelly it "merge" the assets if you add a "themed" asset.

it do this magic with one file in the root of the package (you can add more if you place it in multiples dirs) with all options.

this file must be written by the package author but a "replacement" api is on the launch, it provides (if not present in the package directory) the right .asset.json file according to the repository url( override for all deps manager) or the deps manager key.

Documentation

Please refer to our online documentation for more information.

License

This package is licensed under the GNU GENERAL PUBLIC LICENSE.