Installation

Installing Twine is quick and easy with Composer.

In order to use Twine you will need to install it on a per-project basis. The recommended installation method is via PHP's Composer package manager. For help getting started with Composer or if you want to learn more check out the official Composer documentation.

Twine requires PHP >= 7.0 and Composer

With Composer set up, run composer install phlak/twine from your application's root directory to install Twine.

$ cd /your/awesome/project
        $ composer require phlak/twine
Make sure ~/.composer/vendor/bin is in your $PATH