Install Composer.
Create a composer.json file:
{
"require": {
"ihabunek/phormium": "dev-master"
}
}Start the Composer install procedure:
php composer.phar install
Phormium will be installed in vendor/phormium/phormium.
In your code, include vendor/autoload.php to get access to Phormium classes.
require 'vendor/autoload.php';Clone the source into phormium directory:
git clone https://github.com/ihabunek/phormium.git
In your code, include and register the Phormium autoloader:
require 'phormium/Phormium/Autoloader.php';
\Phormium\Autoloader::register();