To install Foil you need:

Foil is available on Packagist, so the only thing you need to do is to add it as a dependency for your project.

That can be done by running following command in your project folder:

composer require foil/foil:0.*

As alternative you can directly edit your composer.json by adding:

  "require": {
    "foil/foil": "~0.6"

After that, only be sure to include composer autoload file:

require 'vendor/autoload.php';


Foil needs 4 great quality libraries to work:

They will be installed for you by Composer.

When installed in development mode, Foil also requires:

Fork me on GitHub