PHPackages                             lightster/assetrinc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lightster/assetrinc

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

lightster/assetrinc
===================

An unusually simple way to include assets

v0.4.1(12y ago)5611[4 issues](https://github.com/lightster/assetrinc/issues)PHPPHP &gt;=5.3.3

Since Mar 1Pushed 7y ago2 watchersCompare

[ Source](https://github.com/lightster/assetrinc)[ Packagist](https://packagist.org/packages/lightster/assetrinc)[ Docs](http://github.com/assetrinc/assetrinc)[ RSS](/packages/lightster-assetrinc/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (19)Used By (0)

assetrinc
=========

[](#assetrinc)

assetrinc */aˈsentrik/* An unusually simple way to compile and serve web assets

Installation
------------

[](#installation)

The recommended method for installing assetrinc is via Composer. If you are not familiar with Composer, check out the [Composer documentation](http://getcomposer.org).

Assetrinc's package name is `assetrinc/assetrinc`.

It is highly recommended that you require a specific version of assetrinc in your composer.json for now. That is, do not include `0.0.*` or `~0.0.6`, but instead include `0.0.6`. Assetrinc is still undergoing research and development, so backwards incompatible changes are still likely to occur between versions.

Basic Usage
-----------

[](#basic-usage)

### Manifest Files

[](#manifest-files)

Manifest files are CSS and JS files with special comments that list CSS or JS files to include.

Assetrinc uses [Sprocketeer](http://github.com/zacharyrankin/sprocketeer) to parse manifest files. Sprocketeer manifest files are similar to Ruby's Sprockets library manifest files, but keep in mind that Sprocketeer simplifies behavior by using named category paths instead of search paths.

### Example Code

[](#example-code)

```
