skimia / assets
The awesome new Package
Requires
- php: >=5.5.9
- laravel/framework: 5.1.*
- skimia/foundation: ~0.1
- stolz/assets: ^0.1.8
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: 4.8.x-dev@dev
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2024-11-09 19:38:57 UTC
README
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.