Download the PHP package jiabin/migraine without Composer
On this page you can find all versions of the php package jiabin/migraine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jiabin/migraine
More information about jiabin/migraine
Files in jiabin/migraine
Download jiabin/migraine
More information about jiabin/migraine
Files in jiabin/migraine
Vendor jiabin
Package migraine
Short Description Damn simple migrations for PHP
License MIT
Homepage https://github.com/jiabin/migraine
Package migraine
Short Description Damn simple migrations for PHP
License MIT
Homepage https://github.com/jiabin/migraine
Keywords migration
Please rate this library. Is it a good library?
Informations about the package migraine
Migraine
Migraine is a PHP-based command-line utility for simplifying the process of creating/executing migrations.
Requirements
The only requirement for Migraine is PHP 5.4+
Install
Quick start
Show all available commands
Migrate to the latest version
Create a new migration
Print version and exit
Commands reference
| command | description |
|---|---|
| create | Creates a new migration |
| dump-reference | Dumps the default configuration for Migraine |
| help | Displays help for a command |
| init | Creates a new configuration file |
| list | Lists commands |
| migrate | Execute migrations |
| reset | Reset migraine |
| self-update | Updates migraine.phar to the latest version |
| status | Shows migration status |
Supported types
- file
- mongo
- redis
Supported bridges
1) Composer
Configuration reference
| option | default |
|---|---|
| autoload | vendor/autoload.php |
2) Symfony
Configuration reference
| option | default |
|---|---|
| bootstrap | app/bootstrap.php.cache |
| kernel | app/AppKernel.php |
| env | dev |
| debug | false |
Sample configuration (migraine.yml)
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
Contributing
First you need to install composer dependencies:
Now you can run migraine by:
To build a phar file you will need box
Then you can launch the app by:
All versions of migraine with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
symfony/console Version ~2.3
symfony/config Version ~2.3
symfony/finder Version ~2.3
symfony/yaml Version ~2.3
symfony/options-resolver Version ~2.3
monolog/monolog Version ~1.7
doctrine/collections Version ~1.0
predis/predis Version ~0.8
herrera-io/phar-update Version ~2.0
symfony/console Version ~2.3
symfony/config Version ~2.3
symfony/finder Version ~2.3
symfony/yaml Version ~2.3
symfony/options-resolver Version ~2.3
monolog/monolog Version ~1.7
doctrine/collections Version ~1.0
predis/predis Version ~0.8
herrera-io/phar-update Version ~2.0
The package jiabin/migraine contains the following files
Loading the files please wait ...