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

dev-master 2012-12-05 05:51 UTC

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 via url(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.