Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 778 Bytes

install.rst

File metadata and controls

34 lines (20 loc) · 778 Bytes
.. index::
   single: Installation

Installation

Phinx should be installed using Composer. Composer is a tool for dependency management in PHP. Please visit the Composer website for more information.

Note

Phinx requires at least PHP 5.3.2 (or later).

To install Phinx, simply require it using Composer:

php composer.phar require robmorgan/phinx

Then run Composer:

php composer.phar install --no-dev

Create a folder in your project directory called migrations with adequate permissions. It is where your migration files will live and should be writable.

Phinx can now be executed from within your project:

php vendor/bin/phinx init