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.
Installs: 12
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/orbt/style-mirror
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: 2025-10-25 20:52:11 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.