PHPackages                             jordanbrauer/deployer-mysql - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. jordanbrauer/deployer-mysql

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

jordanbrauer/deployer-mysql
===========================

An unofficial Deployer recipe containing a set of useful tasks for interacting with MySQL locally &amp; remotely.

1.0.1(8y ago)5448↓87.5%3MITPHP

Since Oct 18Pushed 8y agoCompare

[ Source](https://github.com/jordanbrauer/deployer-mysql)[ Packagist](https://packagist.org/packages/jordanbrauer/deployer-mysql)[ RSS](/packages/jordanbrauer-deployer-mysql/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

deployer-mysql
==============

[](#deployer-mysql)

An unofficial [Deployer](https://github.com/deployphp/deployer) recipe containing a set of useful tasks for interacting with MySQL locally &amp; remotely.

Usage
-----

[](#usage)

### Installation

[](#installation)

Install via Composer as a dev' dependency to your project.

```
$ composer require --dev jordanbrauer/deployer-mysql
```

### Basic Setup

[](#basic-setup)

Add the following to your deployer config;

```
require_once "mysql.php";

set("mysql", array(
  "host" => "localhost",
  "port" => 3306,
  "schema" => "your_database_name",
  "username" => "root",
  "password" => "root",
  "dump_file" => "path/to/your/dump/file.sql",
));
```

### Additional Setup

[](#additional-setup)

If you want to add options (flags) to your `mysqldump` command task, you can do so by adding the "`dump_options`" key to the configuration array, like so;

```
set("mysql", array(
  // ...
  "dump_options" => array(
    "--skip-comments",
  ),
));
```

Each option you want to add must be a new entry in the array.

***Note:** the* `--skip-comments` *option is the only default option set. So, if you don't have any other options for your setup, you can omit this configuration key entirely.*

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3182d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/867c1f6d15ff437167c0d7467b16da89095218d52e19716fbf9155497d100615?d=identicon)[jordanbrauer](/maintainers/jordanbrauer)

---

Top Contributors

[![jordanbrauer](https://avatars.githubusercontent.com/u/18744334?v=4)](https://github.com/jordanbrauer "jordanbrauer (7 commits)")

---

Tags

composerdeploydeployerdeployer-recipesdeploymentmysqlphprecipestask-runner

### Embed Badge

![Health badge](/badges/jordanbrauer-deployer-mysql/health.svg)

```
[![Health](https://phpackages.com/badges/jordanbrauer-deployer-mysql/health.svg)](https://phpackages.com/packages/jordanbrauer-deployer-mysql)
```

###  Alternatives

[widop/google-analytics-bundle

Google certificate-based authentication in server-to-server interactions with google analytics

43283.2k](/packages/widop-google-analytics-bundle)[in2code/in2publish_core

Content publishing extension to connect stage and production server

40143.4k](/packages/in2code-in2publish-core)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4778.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

116.6k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
