PHPackages                             codenamephp/deployer.mariadb - 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. [Database &amp; ORM](/categories/database)
4. /
5. codenamephp/deployer.mariadb

ActiveLibrary[Database &amp; ORM](/categories/database)

codenamephp/deployer.mariadb
============================

2.0.0(2y ago)01.6k2[1 PRs](https://github.com/codenamephp/deployer.mariadb/pulls)Apache-2.0PHPPHP ^8.2CI passing

Since Feb 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/codenamephp/deployer.mariadb)[ Packagist](https://packagist.org/packages/codenamephp/deployer.mariadb)[ RSS](/packages/codenamephp-deployermariadb/feed)WikiDiscussions release Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (9)Used By (0)

deployer.mariadb
================

[](#deployermariadb)

[![Packagist Version](https://camo.githubusercontent.com/5b19de23abebee77b256b48cfb9a7d35a1669912642072668818242005bfcef2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656e616d657068702f6465706c6f7965722e6d617269616462)](https://camo.githubusercontent.com/5b19de23abebee77b256b48cfb9a7d35a1669912642072668818242005bfcef2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656e616d657068702f6465706c6f7965722e6d617269616462)[![Packagist PHP Version Support](https://camo.githubusercontent.com/043561267b5034a749c54523fd9ee817fc84163c172499055f7724ba097429bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f64656e616d657068702f6465706c6f7965722e6d617269616462)](https://camo.githubusercontent.com/043561267b5034a749c54523fd9ee817fc84163c172499055f7724ba097429bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f64656e616d657068702f6465706c6f7965722e6d617269616462)[![Lines of code](https://camo.githubusercontent.com/fdf32d0ca3424a0100791664f9505f3ffc6cfd462a6a06f802ef10dc3b9eadff/68747470733a2f2f696d672e736869656c64732e696f2f746f6b65692f6c696e65732f6769746875622f636f64656e616d657068702f6465706c6f7965722e6d617269616462)](https://camo.githubusercontent.com/fdf32d0ca3424a0100791664f9505f3ffc6cfd462a6a06f802ef10dc3b9eadff/68747470733a2f2f696d672e736869656c64732e696f2f746f6b65692f6c696e65732f6769746875622f636f64656e616d657068702f6465706c6f7965722e6d617269616462)[![GitHub code size in bytes](https://camo.githubusercontent.com/8d3d285b5232e860cd05a6045556f2b9831abc365781bd75f47b892889f9a67d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f636f64656e616d657068702f6465706c6f7965722e6d617269616462)](https://camo.githubusercontent.com/8d3d285b5232e860cd05a6045556f2b9831abc365781bd75f47b892889f9a67d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f636f64656e616d657068702f6465706c6f7965722e6d617269616462)[![CI](https://github.com/codenamephp/deployer.mariadb/workflows/CI/badge.svg)](https://github.com/codenamephp/deployer.mariadb/workflows/CI/badge.svg)[![Packagist Downloads](https://camo.githubusercontent.com/725a9875878e86926ca5231a883bd20e4826aef94c67a47e9a996d176580e801/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656e616d657068702f6465706c6f7965722e6d617269616462)](https://camo.githubusercontent.com/725a9875878e86926ca5231a883bd20e4826aef94c67a47e9a996d176580e801/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656e616d657068702f6465706c6f7965722e6d617269616462)[![GitHub](https://camo.githubusercontent.com/c2a8487feb5eedb6b350677a5edc0a29a5fa629fb18ae4026ca1b86e2941a6fa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64656e616d657068702f6465706c6f7965722e6d617269616462)](https://camo.githubusercontent.com/c2a8487feb5eedb6b350677a5edc0a29a5fa629fb18ae4026ca1b86e2941a6fa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64656e616d657068702f6465706c6f7965722e6d617269616462)

What is it?
-----------

[](#what-is-it)

This package adds tasks to push, pull and copy mariadb databases along with various subtasks for dumping, importing etc.

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

[](#installation)

Easiest way is via composer. Just run `composer require codenamephp/deployer.mariadb` in your cli which should install the latest version for you.

Usage
-----

[](#usage)

Use the included tasks in your deployer file. You need to add the database configuration to your hosts:

```
$deployerFunctions->localhost()
  ->set('database', [
    'user' => 'application',
    'password' => 'application',
    'name' => 'application',
    'host' => 'database',
  ]);
```

All supported options are documented in the `\de\codenamephp\deployer\mariadb\database\factory\database\iDatabase::fromArray` interface.

For the copy tasks you need to have ssh agent forwarding enabled since the hosts try to connect directly using a local key. This key must have access to both servers. This way, the copy can work without the servers knowing about each other.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 90.2% 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 ~141 days

Recently: every ~133 days

Total

6

Last Release

854d ago

Major Versions

1.1.0 → 2.0.02024-01-15

PHP version history (2 changes)1.0.0PHP ^8.1

2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6865819?v=4)[Bastian Schwarz](/maintainers/bastianschwarz)[@bastianschwarz](https://github.com/bastianschwarz)

---

Top Contributors

[![bastianschwarz](https://avatars.githubusercontent.com/u/6865819?v=4)](https://github.com/bastianschwarz "bastianschwarz (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

### Embed Badge

![Health badge](/badges/codenamephp-deployermariadb/health.svg)

```
[![Health](https://phpackages.com/badges/codenamephp-deployermariadb/health.svg)](https://phpackages.com/packages/codenamephp-deployermariadb)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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