orbt / style-mirror
The style mirror provides a library of components using the Resource Mirror (orbt/resource-mirror) to optimize style resources and mirror assets on a local server.
dev-master
2012-12-05 05:51 UTC
Requires
- php: >=5.3.0
- orbt/resource-mirror: dev-master
- symfony/event-dispatcher: >=2.0.0,<2.2-dev
This package is not auto-updated.
Last update: 2024-04-27 12:54:06 UTC
README
The style mirror provides a library of components using the Resource Mirror to optimize style resources and mirror assets on a local server.
This library contains these main components:
Aggregator
: Utility for aggregating a collection of CSS files (with media types).ResourceScanner
: Utility for scanning a CSS file for other resources linked viaurl(path/to/resource.png)
.LinkedResourceFetcher
: Subscribes to the resource materialize event and scans CSS resources for other linked resources to materialize.
Installation using Composer
Add the following to the "require"
list in your composer.json
file:
"orbt/style-mirror": "dev-master"
Run composer to update dependencies:
$ composer update
Or to just download this library:
$ composer update orbt/style-mirror
License
This library is licensed under the MIT License. See the LICENSE file for detailed license information.