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

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

buzzingpixel/corbomite-db
=========================

Corbomite DB

1.5.0(7y ago)06085Apache-2.0PHPPHP &gt;=7.2

Since Jan 5Pushed 7y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (13)Versions (12)Used By (5)

Corbomite DB
============

[](#corbomite-db)

[![](https://camo.githubusercontent.com/13344b95716adb0ac4a8bc417b0e32fbb64d0e33aea92f8614f71d40ec7905bd/68747470733a2f2f7472617669732d63692e6f72672f62757a7a696e67706978656c2f636f72626f6d6974652d64622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/buzzingpixel/corbomite-db)

Part of BuzzingPixel's Corbomite project.

This project provides a very thin layer on top of [Atlas](http://atlasphp.io/) to make it available to Corbomite's DI and CLI.

Usage
-----

[](#usage)

When you require this into a Corbomite project, the CLI commands and dependency injection config will automatically be set up. But you will need to set up some environment variables.

### Environment Variables

[](#environment-variables)

The following environment variables are optional:

- `DB_DSN_PREFIX` (defaults to `mysql`)
- `DB_HOST` (defaults to `localhost`)
- `DB_PORT` (defaults to none, can also set to 'false' to disable)
- `DB_DATABASE` (can also set to 'false' to disable)
- `DB_CHARSET` (defaults to `utf8mb4`, can also set to 'false' to disable)

The following environment variables need to be set:

- `DB_USER`
- `DB_PASSWORD`
- `CORBOMITE_DB_DATA_NAMESPACE`
- `CORBOMITE_DB_DATA_DIRECTORY`

The last two tell Corbomite (Atlas) 1). what namespace to use when creating the data skeleton classes, and 2). what directory to put those classes in.

### Generating the skeleton

[](#generating-the-skeleton)

`php app db/generate-skeleton`

Run the skeleton generation command on first run and any time your database schema changes so all of Atlas' classes will be set up for you to use.

### Factory

[](#factory)

You should inject `\corbomite\db\Factory` into your classes where you need the ORM so you can use the `makeOrm` method on the factory to get a new instance of the ORM.

License
-------

[](#license)

Copyright 2019 BuzzingPixel, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~23 days

Total

10

Last Release

2571d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3749c595e494c26b1d9772c64f126c2f64f0d5057736dc5986d2f305432896ba?d=identicon)[buzzingpixel](/maintainers/buzzingpixel)

---

Top Contributors

[![tjdraper](https://avatars.githubusercontent.com/u/3803475?v=4)](https://github.com/tjdraper "tjdraper (45 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[bavix/laravel-wallet

It's easy to work with a virtual wallet.

1.3k1.1M11](/packages/bavix-laravel-wallet)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[google/cloud-bigquery

BigQuery Client for PHP

8817.2M41](/packages/google-cloud-bigquery)[formal/orm

324.0k1](/packages/formal-orm)

PHPackages © 2026

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