PHPackages                             graham-campbell/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. [Framework](/categories/framework)
4. /
5. graham-campbell/database

AbandonedArchivedLibrary[Framework](/categories/framework)

graham-campbell/database
========================

Database Provides Some Extra Database Stuff For Laravel 4.2

v0.1.4-alpha(11y ago)63.4k22MITPHPPHP &gt;=5.4.7

Since Jul 20Pushed 11y agoCompare

[ Source](https://github.com/GrahamDeprecated/Laravel-Database)[ Packagist](https://packagist.org/packages/graham-campbell/database)[ RSS](/packages/graham-campbell-database/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (2)

Laravel Database
================

[](#laravel-database)

Laravel Database was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and provides some extra database stuff for [Laravel 4.2](http://laravel.com). Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-Database/releases), [license](LICENSE), [api docs](http://docs.grahamjcampbell.co.uk), and [contribution guidelines](CONTRIBUTING.md).

WARNING
-------

[](#warning)

#### This package is no longer maintained.

[](#this-package-is-no-longer-maintained)

[![Laravel Database](https://cloud.githubusercontent.com/assets/2829600/4432285/a989191e-468c-11e4-8cf6-c70e4a229303.PNG)](https://cloud.githubusercontent.com/assets/2829600/4432285/a989191e-468c-11e4-8cf6-c70e4a229303.PNG)

[![Build Status](https://camo.githubusercontent.com/00c57e9cff0cfbc5e4ad368cd2d3f0affbc69a493bd2896dbf185e0ad1029c93/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f47726168616d43616d7062656c6c2f4c61726176656c2d44617461626173652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/GrahamCampbell/Laravel-Database)[![Coverage Status](https://camo.githubusercontent.com/e8b1a6867ae34e04d9ee9320e9d960527a4d57bdf0beef5dd3c2068d76bef486/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f47726168616d43616d7062656c6c2f4c61726176656c2d44617461626173652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Database/code-structure)[![Quality Score](https://camo.githubusercontent.com/50f2d894a1b01a10380b6d146a799528287fcd047bfc9d7178affdb6b3fff6de/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f47726168616d43616d7062656c6c2f4c61726176656c2d44617461626173652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Database)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest Version](https://camo.githubusercontent.com/15e334b9486d08b3ffcde05916051f84009c5bc93f74719c3b1edbdc31f4ef7b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f47726168616d43616d7062656c6c2f4c61726176656c2d44617461626173652e7376673f7374796c653d666c61742d737175617265)](https://github.com/GrahamCampbell/Laravel-Database/releases)

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

[](#installation)

[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel Database, simply add the following line to the require block of your `composer.json` file:

```
"graham-campbell/database": "0.1.*"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

You can now utilise the classes in this package to speed up writing Laravel packages further. There are no service providers to register.

Configuration
-------------

[](#configuration)

Laravel Database requires no configuration. Just follow the simple install instructions and go!

Usage
-----

[](#usage)

There is currently no usage documentation besides the [API Documentation](http://docs.grahamjcampbell.co.uk) for Laravel Database.

License
-------

[](#license)

Laravel Database is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

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

Total

5

Last Release

4199d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d95eb26cb8f3919bb5ca3b6d823daeabbf259663778a970349b245c580713c8e?d=identicon)[graham-campbell](/maintainers/graham-campbell)

---

Top Contributors

[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (54 commits)")

---

Tags

frameworklaraveldatabasemodeleloquentproviderGraham CampbellGrahamCampbellLaravel-Database

### Embed Badge

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

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M146](/packages/laravel-cashier)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k55.0M619](/packages/laravel-scout)

PHPackages © 2026

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