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↓85.7%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 1w 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 68% 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

3134d 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

[deployer/deployer

Deployment Tool

11.1k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

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

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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