Home

Awesome

Pimple 2.x for Hack Build Status

A Pimple version in Hack/HHVM, just for fun!

Requirements

Installation

The recommended way to install pimple-hack is through composer. You can see package information on Packagist.

{
    "require": {
        "mcuadros/pimple-hack": "dev"
    }
}

Benchmarking

Just as a learning practice, i made this port of pimple for hack, this are the results of my little benchmarks based on 1 million of iterations, where the hack version is a 30% faster than the original PHP version.

Tests

Tests are in the tests folder. To run them, you need PHPUnit. Example:

$ phpunit --configuration phpunit.xml.dist

License

MIT, see LICENSE