Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

Latest commit

 

History

History
42 lines (29 loc) · 762 Bytes

INSTALL.md

File metadata and controls

42 lines (29 loc) · 762 Bytes

Install

Using Composer

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 from Github

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();