PHPackages                             omissis/bundlefu - 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. omissis/bundlefu

AbandonedLibrary

omissis/bundlefu
================

BundleFu is a PHP 5.3+ library which bundles multiple css/javascript files into a big package and sends it out at once

v0.9.5(13y ago)1271New BSDPHPPHP &gt;=5.3.3

Since Feb 27Pushed 13y ago1 watchersCompare

[ Source](https://github.com/omissis/BundleFu)[ Packagist](https://packagist.org/packages/omissis/bundlefu)[ Docs](https://github.com/omissis/BundleFu)[ RSS](/packages/omissis-bundlefu/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

BundleFu
========

[](#bundlefu)

[![Build Status](https://camo.githubusercontent.com/ec5223a4d10e2c8f6af208c95ca67dbb966581336c8d81b070ecd7517ef7ba8b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f646f7473756e697465642f42756e646c6546752e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/dotsunited/BundleFu)

BundleFu is a PHP 5.3+ library which bundles multiple css/javascript files into a big package and sends it out at once.

**Note**: If you need a PHP 5.2 version of BundleFu, checkout the [5.2 branch](https://github.com/dotsunited/BundleFu/tree/5.2).

It is highly inspired by the [Ruby on Rails](http://rubyonrails.org) plugin [bundle-fu](http://code.google.com/p/bundle-fu/).

In short, it turns this:

```

```

Into this:

```

```

Features
--------

[](#features)

- Automatically detects modifications to your css and javascript files and regenerates the bundles automatically.
- Bundle contents can be modified by filters for css url rewriting to avoid broken images, code minification and compression etc. (A [Google Closure Compiler](http://code.google.com/closure/compiler/) filter using the [Service API](http://code.google.com/closure/compiler/docs/api-ref.html) comes with the library).
- Ability to store the generated bundles on Rackspace Cloudfiles.

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

[](#installation)

BundleFu can be installed using the [Composer](http://packagist.org) tool. You can either add `dotsunited/bundlefu` to the dependencies in your composer.json, or if you want to install BundleFu as standalone, go to the main directory and run:

```
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
```

You can then use the composer-generated autoloader to access the BundleFu classes:

```

```

If you need to upload the bundles to Rackspace Cloudfiles, you'll need to register the provided stream wrapper:

```
