PHPackages                             jamayka/db-patcher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jamayka/db-patcher

ActiveLibrary

jamayka/db-patcher
==================

DB patcher

0.0.4(11y ago)21.6kMITPHPPHP &gt;=5.3.3

Since Apr 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jamayka/db-patcher)[ Packagist](https://packagist.org/packages/jamayka/db-patcher)[ RSS](/packages/jamayka-db-patcher/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

DB patcher
==========

[](#db-patcher)

Small PHP CLI script to patch DB. Supports .sql and .php patches.

Installation
------------

[](#installation)

Include as a requirement in your composer json. db-patcher.php will be available in your bin directory (usually vendor/bin)

Also needs configuration in json or php format. It tries to find db-patcher.json or db-patcher.php in your project directory etc or data/etc. But if you have specific vendor directory or you have configuration in other directories you should specify config file using command option --config

Example of PHP configuration file:

```
