PHPackages                             ant0x64/magento-slave-sql - 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. ant0x64/magento-slave-sql

ActiveMagento2-module

ant0x64/magento-slave-sql
=========================

N/A

1.0.0(1y ago)00proprietaryPHPPHP ~8.1.0||~8.2.0

Since Jul 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ant0x64/magento-slave-sql)[ Packagist](https://packagist.org/packages/ant0x64/magento-slave-sql)[ RSS](/packages/ant0x64-magento-slave-sql/feed)WikiDiscussions master Synced 1mo ago

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

Magento Slave MySQL: Separate Database Provider for Select Queries
------------------------------------------------------------------

[](#magento-slave-mysql-separate-database-provider-for-select-queries)

### Overview

[](#overview)

This Magento 2 module enhances database management capabilities by enabling SELECT queries to execute on a dedicated secondary database connection within Magento applications.

### Installation

[](#installation)

#### Prerequisites

[](#prerequisites)

- Magento 2.x installed and configured.
- Composer globally installed.

#### Installation

[](#installation-1)

```
composer require ant0x64/magento-slave-sql
bin/magento module:enable Ant0x64_SlaveSql
```

#### Configuration

[](#configuration)

To utilize the module's features, you need to configure the secondary database connection in Magento's env.php configuration file called `slave`:

```
'db' => [
    'connection' => [
        'slave' => [
            'host' => 'slave_host',
            'dbname' => 'slave_db',
            'username' => 'db_username',
            'password' => 'db_password',
            'active' => '1',
        ],
    ],
],
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

677d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb1ad20c519310aeab17211f095ed5225f3c1b49266e4edc0cc761814b742ad4?d=identicon)[antondkv](/maintainers/antondkv)

---

Top Contributors

[![ant0x64](https://avatars.githubusercontent.com/u/11509009?v=4)](https://github.com/ant0x64 "ant0x64 (2 commits)")

### Embed Badge

![Health badge](/badges/ant0x64-magento-slave-sql/health.svg)

```
[![Health](https://phpackages.com/badges/ant0x64-magento-slave-sql/health.svg)](https://phpackages.com/packages/ant0x64-magento-slave-sql)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[mage-os/mageos-common-async-events

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

147.7k2](/packages/mage-os-mageos-common-async-events)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

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