From 3964bcb442eddea49722dd77a5cbca447e617309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Benj=C3=A1min?= <163124+Benjaminhu@users.noreply.github.com> Date: Wed, 13 Apr 2022 22:05:57 +0200 Subject: [PATCH 1/3] [mod] 'homepage', 'author' fix --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index a65c4be..a0154e8 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "benjaminhu/php-mysql-diff", "type": "project", - "homepage": "https://github.com/osapon/php-mysql-diff", + "homepage": "https://github.com/Benjaminhu/php-mysql-diff", "keywords": ["database","diff","mysql","migration","generator","script"], "license": "MIT", "authors": [ @@ -10,7 +10,7 @@ "role": "Developer" }, { - "name": "barmi", + "name": "Benjamin Ssimon", "role": "Developer" }, { From 8e1946362a3819753787ab74f2f74c3216a6969b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Benj=C3=A1min?= <163124+Benjaminhu@users.noreply.github.com> Date: Wed, 13 Apr 2022 22:08:49 +0200 Subject: [PATCH 2/3] [remove] hhvm --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 58dde79..b60e85d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ language: php php: - '5.6' - '7.0' - - hhvm before_install: - travis_retry composer self-update From e43edd0c3f95ad424f3180554f5318a924fb29e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Benj=C3=A1min?= <163124+Benjaminhu@users.noreply.github.com> Date: Fri, 15 Apr 2022 16:31:47 +0200 Subject: [PATCH 3/3] [add] Installation --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 16c5b2e..defc220 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,28 @@ This is a fork of [camcima/php-mysql-diff](https://github.com/camcima/php-mysql- ##### Why not `mysqldiff` from MySQL Utilities? MySQL Utilities includes a similar tool, `mysqldiff`, that is absolutely **horrible**! The purpose of this project is to provide a tool that is simple to use, reliable and fast. +## Installation + +To install PHP MySQL Diff, install Composer and issue the following command: + +``` +$ ./composer.phar global require benjaminhu/php-mysql-diff +``` + +Then, make sure you have ~/.composer/vendor/bin in your PATH, and you're good to go: + +``` +export PATH="$PATH:$HOME/.composer/vendor/bin" +``` + +## Update + +You can update PHP MySQL Diff through this command: + +``` +$ ./composer.phar global update benjaminhu/php-mysql-diff +``` + ## Usage ### Database Creation Scripts