This commit is contained in:
Sebastian Molenda
2026-05-12 21:10:38 +02:00
commit ab96d82fcf
2544 changed files with 721700 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
.. 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 8.1 (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