Files
apps.prometeysev.ru/vendor/robmorgan/phinx/docs/en/install.rst
T

28 lines
694 B
ReStructuredText
Raw Normal View History

2026-10-22 00:22:57 +03:00
.. index::
single: Installation
Installation
============
Phinx should be installed using Composer, which is a tool for dependency
management in PHP. Please visit the `Composer <https://getcomposer.org/>`_
website for more information.
.. note::
Phinx requires at least PHP 5.6 (or later).
To install Phinx, simply require it using Composer:
.. code-block:: bash
php composer.phar require robmorgan/phinx
Create folders in your project following the structure ``db/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:
.. code-block:: bash
vendor/bin/phinx init