I know there are some similar libraries (and very good ones, too!) out there but this was somewhat of a hobby of mine (actually, I was experimenting with this for a project and decided to release it publicly).
Here are the main features:
- Asset definitions
- Asset grouping
- Filters (cssmin, jsmin etc)
- Asset routes (for auto-loading assets depending on the route)
- Combining assets
- Asset definitions & routes in YAML or pure PHP files
- Asset baking (process assets via cronjob or terminal/command prompt)
The library is available as a spark: http://getsparks.org/packages/Sprinkle/versions/HEAD/show
There may be some bugs or limitations that I don’t know about although I tested it in various scenarios.
Let me know if you have any use for it. Also, don’t forget to read the wiki to get more information.