PHPackages                             spartan/db - 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. spartan/db

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

spartan/db
==========

Spartan Db library

v0.2.0(6mo ago)01.1k↓40%1MITPHPPHP &gt;=7.4

Since Mar 3Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/spartan/db)[ Packagist](https://packagist.org/packages/spartan/db)[ Docs](https://spartanphp.com)[ RSS](/packages/spartan-db/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (19)Used By (1)

Spartan Db
==========

[](#spartan-db)

Table of contents
-----------------

[](#table-of-contents)

- [Description](#description)
- [Requirements](#requirements)
- [Install](#install)
- [Docs](#docs)
- [Authors](#authors)
- [License](#license)

Description
-----------

[](#description)

> Spartan Db component

Requirements
------------

[](#requirements)

- PHP `v7.4`
- \*nix flavor

Install
-------

[](#install)

```
composer require spartan/db
```

Docs
----

[](#docs)

Docs can be found at [spartanphp.com](https://spartanphp.com)

Authors
-------

[](#authors)

Iulian N. `iulian@spartanphp.com`

License
-------

[](#license)

Spartan Db is licensed under the MIT License - see the `LICENSE` file for details.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance67

Regular maintenance activity

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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 ~103 days

Recently: every ~366 days

Total

18

Last Release

195d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/129925?v=4)[SpartanPHP](/maintainers/spartan)[@spartan](https://github.com/spartan)

---

Top Contributors

[![spartan](https://avatars.githubusercontent.com/u/129925?v=4)](https://github.com/spartan "spartan (35 commits)")

---

Tags

librarydbspartan

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/spartan-db/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

62414.3k11](/packages/rah-danpu)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[stefangabos/zebra_database

An advanced, compact and lightweight MySQL database wrapper library, built around PHP's MySQLi extension.

11712.6k](/packages/stefangabos-zebra-database)[soosyze/queryflatfile

The Queryflatfile is PHP library for simple database not SQL

181.1k1](/packages/soosyze-queryflatfile)

PHPackages © 2026

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