Sign inSign up

vegbrasil/phinx

By vegbrasil

•Updated almost 9 years ago

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

Image
1

10K+

vegbrasil/phinx repository overview

⁠PHP Phinx with PDO support

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

Based on the docker image by Angel Alvarado, this is a Phinx image with PDO support built-in - ready for MySQL migrations.

⁠Usage

In the directory of your Phinx configuration file, run the container:

docker run --rm -v "$PWD:/app" vegbrasil/phinx create MyNewMigration

or, to migrate

docker run --rm -v "$PWD:/app" vegbrasil/phinx migrate

If your database server is also in a Docker container, don't forget to include Phinx on the same network: Example: network called "dev": docker run --rm -v "$PWD:/app" --network dev vegbrasil/phinx migrate

Tag summary

Content type

Image

Digest

Size

218.3 MB

Last updated

almost 9 years ago

docker pull vegbrasil/phinx