PHPackages                             tobymaxham/database - 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. tobymaxham/database

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

tobymaxham/database
===================

A package to quickly connect using eloquent.

1231PHP

Since Aug 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/TobyMaxham/database)[ Packagist](https://packagist.org/packages/tobymaxham/database)[ RSS](/packages/tobymaxham-database/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

TobyMaxham Database
===================

[](#tobymaxham-database)

[![Latest Stable Version](https://camo.githubusercontent.com/7db243c5003f0ffd325074d5a30f40b60a13159eef9e6930761ec3249e950d63/68747470733a2f2f706f7365722e707567782e6f72672f546f62794d617868616d2f64617461626173652f762f737461626c652e737667)](https://packagist.org/packages/TobyMaxham/database)[![Total Downloads](https://camo.githubusercontent.com/178223ddca96e0f33fab8f9c3d76c5016812e4453f76860dce0850a2393621a5/68747470733a2f2f706f7365722e707567782e6f72672f546f62794d617868616d2f64617461626173652f646f776e6c6f6164732e737667)](https://packagist.org/packages/TobyMaxham/database)[![Latest Unstable Version](https://camo.githubusercontent.com/d16d6ce1dc7d918b07dffd25b8c5c866809f40fa6fcba640b786da91c251911e/68747470733a2f2f706f7365722e707567782e6f72672f546f62794d617868616d2f64617461626173652f762f756e737461626c652e737667)](https://packagist.org/packages/TobyMaxham/database)[![License](https://camo.githubusercontent.com/bd3076e9a061343855f83f2ffcb3b3c49e87fb68ac0bcd0cf6ef94bb0974b576/68747470733a2f2f706f7365722e707567782e6f72672f546f62794d617868616d2f64617461626173652f6c6963656e73652e737667)](https://packagist.org/packages/TobyMaxham/database)

SEE [Illuminate Database](https://github.com/illuminate/database)

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

[](#installation)

```
composer require tobymaxham/database

```

Use
---

[](#use)

```
TobyMaxham\DBConnector::connect([
	'host'      => 'localhost',
	'database'  => 'database',
	'username'  => 'root',
	'password'  => 'password',
]);
```

and you'll be done.

License
-------

[](#license)

TobyMaxham's Database is licensed under [The MIT License (MIT)](LICENSE).

Eloquent by [Illuminate Database](https://github.com/illuminate/database)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/900ab0a66bf701f3fb99a4db54276b4984cf3cf9b55ccad6df65c034f58be85f?d=identicon)[TobyMaxham](/maintainers/TobyMaxham)

---

Top Contributors

[![TobiasMaxham](https://avatars.githubusercontent.com/u/263875125?v=4)](https://github.com/TobiasMaxham "TobiasMaxham (8 commits)")

### Embed Badge

![Health badge](/badges/tobymaxham-database/health.svg)

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

###  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)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

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

Reliese Components for Laravel Framework code generation.

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

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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