PHPackages                             vipsoft/mysql-login - 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. vipsoft/mysql-login

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

vipsoft/mysql-login
===================

Reader/decoder for .mylogin.cnf -- obfuscated MySQL authentication credentials

1.0.0(2y ago)1688—0%MITPHPPHP &gt;=5.3.6

Since Dec 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vipsoft/mysql-login)[ Packagist](https://packagist.org/packages/vipsoft/mysql-login)[ Docs](http://github.com/vipsoft/)[ RSS](/packages/vipsoft-mysql-login/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

VIPSoft\\MySQLLogin
===================

[](#vipsoftmysqllogin)

Reader/decoder for `.mylogin.cnf` -- MySQL's obfuscated authentication credentials login path file

Features
--------

[](#features)

- Simple to use!

    ```
    use VIPSoft\MySQLLogin;

    $reader = new MySQLLogin(get_env('HOME') . '/.mylogin.cnf');

    // get decoded credentials
    $credentials = $reader->get('client');

    $host = $credentials['host'];
    $user = $credentials['user'];
    $password = $credentials['password'];
    ```

References
----------

[](#references)

- [mysql\_config\_editor](https://dev.mysql.com/doc/refman/8.2/en/mysql-config-editor.html)

Copyright
---------

[](#copyright)

Copyright (c) 2023 Anthon Pang. See LICENSE for details.

Contributors
------------

[](#contributors)

- Anthon Pang [robocoder](http://github.com/robocoder)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

944d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

securityAuthenticationmysqlmariadbcredentials

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vipsoft-mysql-login/health.svg)

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

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k605.0M6.8k](/packages/doctrine-dbal)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

846.1k](/packages/tommyknocker-pdo-database-class)[stefanfroemken/mysqlreport

MySQL Report - Analyze and profile your TYPO3 database queries

1317.8k](/packages/stefanfroemken-mysqlreport)[chillerlan/php-database

An extensible database wrapper and query builder.

431.2k2](/packages/chillerlan-php-database)

PHPackages © 2026

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