Skip to content

Commit cfe34f6

Browse files
author
Alexandre
committed
Update README.md
1 parent 8f7d204 commit cfe34f6

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ PhpDbMigration - full PHP database migration tool
44
This is a full standalone PHP tool based on symfony console and inspired by the rails database migration tool and MyBatis.
55
It merge the functionnality of the two tools and has been desined to be as flexible as possible.
66

7+
Installing it to your project
8+
-----------------------------
9+
Just add it to your composer.json (don't forget to specify your bin directory)
10+
Warning, all migrate commands must be executed on your root folder like `bin/migrate migrate:command...`
11+
12+
{
13+
"name": "jdoe/testproject",
14+
"authors": [
15+
{
16+
"name": "Jhon DOE",
17+
"email": "jdoe@gmail.com"
18+
}
19+
],
20+
"require": {
21+
"php-database-migration/php-database-migration" :"3.3.*"
22+
},
23+
"config": {
24+
"bin-dir": "bin"
25+
}
26+
}
27+
28+
729
Adding an environment
830
---------------------
931
The first thing to do before playing with SQL migrations is to add an environment, let's add the dev one.

0 commit comments

Comments
 (0)