Download the PHP package shadiakiki1986/db-diff without Composer

On this page you can find all versions of the php package shadiakiki1986/db-diff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package db-diff

db-diff Build Status

Console application to version control database table contents and show their daily diff

Does it in 3 steps

  1. Set up PHP-ODBC connections and store your database connection in /etc/odbc.ini
  2. export table from database via ODBC connection to git via git-rest-api server
  3. export table again after edits
  4. get git diff results

Running periodic exports gives more points in time to diff against

Similar tools (didn't try them)

Usage

(Example usage: docker-db-diff )

  1. Requirements:

    1. PDO-ODBC driver and a ready connection
    2. a node-git-rest-api server with deep-diff-yml configured for yml files
  2. Set env var for git-rest-api server

  3. Synopsis

Note: the <DB>..<TABLE> notation is SQLServer-specific. For MySql, use <DB>.<TABLE> (single dot)

Reset:

Testing

  1. (optional) Set up a mysql database to test against locally:

Test with

  1. (optional) Run the git-rest-api server locally:

  2. (optional) Set up dev env using option 1 or 2 below
  3. Install dependencies: composer install
  4. Run tests: composer test

Option 1: Dev env with vagrant

Option 2: Manually

Install odbc drivers like docker-php7...: [sudo] apt-get unixodbc unixodbc-dev tdsodbc php7.0-odbc

Test installation with : php -i|grep odbc

Install mysql-odbc drivers

  1. ubuntu 13.04: apt-get install libmyodbc
  2. ubuntu 16.04:

Set up odbc configuration

Test with


All versions of db-diff with dependencies

PHP Build Version
Package Version
Requires shadiakiki1986/git-rest-api-client Version *
ext-yaml Version *
symfony/console Version ^3.2
twig/twig Version ^2.0
ext-pdo Version *
ext-pdo_odbc Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shadiakiki1986/db-diff contains the following files

Loading the files please wait ....