Skip to content

eko3alpha/docker-phinx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

docker-phinx

Docker image for Phinx

Example

docker run --rm -u "$UID" -v "$PWD:/app" eko3alpha/docker-phinx create NewMigration

Alias

You can also create an alias so you dont have to type that whole command! More information can be found here: Dockerize Commands

OSX:

sudo pico ~/.bash_profile

Ubuntu:

sudo pico ~/.bash_aliases

Then add the following entry, in this case we're calling it "phpqa" you can change it to whatever you want. Make sure to wrap the alias in single quotes.

alias phinx='docker run --rm -u "$UID" -v "$PWD:/app" eko3alpha/docker-phinx'

After you add the entry refresh the profile

source ~/.bash_profile

Now you can use phinx without having to type the full docker command

phinx create NewMigration

For full documentation please head over to the Phinx Documentation

About

Docker for Phinx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published