Download the PHP package pm-connect/db-diff without Composer

On this page you can find all versions of the php package pm-connect/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 Latest Stable Version Total Downloads Latest Unstable Version License

A simple php based database structure diff tool that you can self host.

Looking to build a diff tool your self? Check out db-diff-utils.

DB Diff

Installation

Installation can be done through either composer, or using docker.

Using Composer

You will need to install the project using a web server using php7+.

Using Docker

There is an available docker image and docker file with this project that will give you a running application within seconds.

Either create a machine from the jralph/db-diff docker image, or run the Dockerfile and create your own.

Note: When using docker to run the diff application, diffs will be run using the sync queue. This means that you will only be able to run one diff at a time and may be limited to the http request duration.

Docker Hub

Config

You will need to set a database configuration to save the diff logs, this is done in a .env file, which you will need to create. An example is provided below.

Once done, you will also need to run the migrations.

You can also optionally setup a queue to enable better performance for diff running.

Example .env File

Queues

If you opt to use a queue driver that is not sync, you will need to run the build-in queue worker through the command line.

You may also want to set the timeout to a greater value, depending on the size of the databases you are planning to diff. Generally a 60 second timeout works well in most cases.

For more information on running queue workers, please see here.

Issues

Please submit any issues using GitHubs build in issue management.


All versions of db-diff with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
laravel/framework Version 5.3.*
barryvdh/laravel-ide-helper Version ^2.2
doctrine/dbal Version ^2.5
barryvdh/laravel-debugbar Version ^2.3
pm-connect/db-diff-utils Version 1.*
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 pm-connect/db-diff contains the following files

Loading the files please wait ....