PHPackages                             neoan.io/legacy-db-adapter - 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. neoan.io/legacy-db-adapter

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

neoan.io/legacy-db-adapter
==========================

neoan3/db adapter for neoanIo

1.0.1(3y ago)029.1k2MITPHPPHP ~8.1

Since Aug 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sroehrl/Neoan3IoDatabaseAdapter)[ Packagist](https://packagist.org/packages/neoan.io/legacy-db-adapter)[ RSS](/packages/neoanio-legacy-db-adapter/feed)WikiDiscussions master Synced 4d ago

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

Easy database adapter for neoan.io and neoan3-apps/db
=====================================================

[](#easy-database-adapter-for-neoanio-and-neoan3-appsdb)

This wrapper enables the use of the battle-tested neoan3 legacy default database handler [neoan3-apps/db](https://packagist.org/packages/neoan3-apps/db)

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

[](#installation)

`composer require neoan.io/legacy-db-adapter`

***NOTE:** There is no need to install neoan3-apps/db separately; this package already requires it*

Setup in neoan.io
-----------------

[](#setup-in-neoanio)

Simply drop a new Instance into the neoan.io database connection after app initialization:

For credential keys, please see [Environment variable](https://github.com/sroehrl/neoan3-db/blob/master/README.md#environment-variables)

```
...
// environment variables (assumes )
$credentials = [
            'host' => Env::get('DB_HOST', 'localhost'),
            'name' => Env::get('DB_NAME', 'neoan_io'),
            'port' => Env::get('DB_PORT', 3306),
            'user' => Env::get('DB_USER', 'root'),
            'password' => Env::get('DB_PASSWORD', ''),
            'charset' => Env::get('DB_CHARSET', 'utf8mb4'),
            'casing' => Env::get('DB_CASING', 'camel'),
            'assumes_uuid' => Env::get('DB_UUID', false),
];

Neoan\Database\Database::connect(new neoan.io\MarketPlace\DatabaseAdaptor($credentials))
...
```

Documentation
-------------

[](#documentation)

This adapter hooks into the neoan.io framework and requires no active usage. However, for a better understanding, please see [neoan3-apps/db](https://packagist.org/packages/neoan3-apps/db)

License
-------

[](#license)

This Adapter comes with almost no strings attached: [view](LICENSE)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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

Every ~0 days

Total

2

Last Release

1380d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92d2361b646651e3452a62d07274076346c4096480098a6c43d6c27ee28d460d?d=identicon)[neoan](/maintainers/neoan)

---

Top Contributors

[![sroehrl](https://avatars.githubusercontent.com/u/28542911?v=4)](https://github.com/sroehrl "sroehrl (5 commits)")

### Embed Badge

![Health badge](/badges/neoanio-legacy-db-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/neoanio-legacy-db-adapter/health.svg)](https://phpackages.com/packages/neoanio-legacy-db-adapter)
```

###  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)
