Download the PHP package fiisoft/phinx without Composer

On this page you can find all versions of the php package fiisoft/phinx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phinx

FiiSoft Phinx

Console-commands to use Phinx's library console-commands in custom console application (based on symfony/console package).

My advice is - do not use it unless you are enough strong mentally to immune for such bad code.


It contains wrappers for Phinx's commands:

It also contains six special commands (not available in Phinx):

In addition, it comes with special generic-purpose command phinx which allows to run other Phinx-specific commands in special way.


Keep in mind that this library uses its own configuration-schema as well as template for migrations classes and base abstract class for them.

The main goal of this custom configuration is to manage migrations for many destiny databases (in various environments). Therefore configurations are grouped in something called "destiny".

Here are some examples.

This creates config for one destiny called local with one environment dev. Migration files for this destiny will be stored in (current working directory)/phinx/local/migrations directory. Notice that the name of destiny becames part of path.

In this case path to migration files is __DIR__/phinx/migrations - there is no name of destiny local in path.

This defines root folder for all destinations. The path for migration files for local is now __DIR__/dev/local/migrations.


To handle various different sets of migrations reffered to the same database, use:

This configuration defines two destinations: alpha and bravo.

Migration files for alpha will be stored in (current working directory)/phinx/alpha/migrations and the name of the table used by Phinx will be phinxlog (as default).

Migration files for bravo will be stored in (current working directory)/phinx/bravo/migrations and the name of the table used by Phinx will be phinx_migrations.

Because there are no other data specified, both destinations will share the same database, so it gives possibility to handle various sets of migrations for the same database.


There is also a bin/finx executable file provided with library. Usage of it is a bit hard to explain because it uses its own schema of arguments.

Some examples (lets assume the local destination is defined in configuration):

Some examples of call command migrate with environment dev from destination local, in different ways (and all do exactly the same!):

As you can see, it's a bit crazy.


All versions of phinx with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
fiisoft/basics Version ^2.2
symfony/console Version ^2.8.27
robmorgan/phinx Version ^0.9.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fiisoft/phinx contains the following files

Loading the files please wait ....