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

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

lscortesc/database
==================

Eloquent Extended, added some PostgreSQL features

0.21(5y ago)07311MITPHPPHP ^7.3

Since Feb 14Pushed 5y agoCompare

[ Source](https://github.com/lscortesc/database)[ Packagist](https://packagist.org/packages/lscortesc/database)[ Docs](https://bosnadev.com)[ RSS](/packages/lscortesc-database/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (26)Used By (1)

Laravel Postgres Extended
=========================

[](#laravel-postgres-extended)

[![Build Status](https://camo.githubusercontent.com/039a7df21af10626ca74254df1a2de49c299e850557105bf3edd53ec185b25e0/68747470733a2f2f7472617669732d63692e6f72672f626f736e616465762f64617461626173652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bosnadev/database)[![SensioLabsInsight](https://camo.githubusercontent.com/05e6bf4f21e6c4bc019f615b00c125fe06736f3f52ad8cb63661a7874c64a8e8/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34303566353135332d343331322d346331312d623061652d3866323765323931306331392f6d696e692e706e67)](https://insight.sensiolabs.com/projects/405f5153-4312-4c11-b0ae-8f27e2910c19)[![Code Climate](https://camo.githubusercontent.com/42f3d4aced1a5f98c4455a9c7e3a6022c453924cc84d35253bb6c06382fc20b0/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f626f736e616465762f64617461626173652f6261646765732f6770612e737667)](https://codeclimate.com/github/bosnadev/database)[![Latest Stable Version](https://camo.githubusercontent.com/998623f3a4373439a85aa8733ff389204b71611f54e01af45619d10b6eea493b/68747470733a2f2f706f7365722e707567782e6f72672f626f736e616465762f64617461626173652f762f737461626c65)](https://packagist.org/packages/bosnadev/database)[![Total Downloads](https://camo.githubusercontent.com/cca31fec318928cae9725b468cd10c74fac987fad403fe6c1dc5678249d49e45/68747470733a2f2f706f7365722e707567782e6f72672f626f736e616465762f64617461626173652f646f776e6c6f616473)](https://packagist.org/packages/bosnadev/database)[![Monthly Downloads](https://camo.githubusercontent.com/8f002f0f398f73befa360f1f85a1aa884dc49b588aff3e34f387e23bf3d51469/68747470733a2f2f706f7365722e707567782e6f72672f626f736e616465762f64617461626173652f642f6d6f6e74686c79)](https://packagist.org/packages/bosnadev/database)[![License](https://camo.githubusercontent.com/242097903086907a0437a674f9699de98d05f28d3698b3e7ce91311ccf8a5acd/68747470733a2f2f706f7365722e707567782e6f72672f626f736e616465762f64617461626173652f6c6963656e7365)](https://packagist.org/packages/bosnadev/database)

An extended PostgreSQL driver for Laravel 5.2+ with support for some aditional PostgreSQL data types: hstore, uuid, geometric types (point, path, circle, line, polygon...)

Getting Started
---------------

[](#getting-started)

### Laravel 5.2

[](#laravel-52)

1. Run `composer require bosnadev/database` in your project root directory.
2. Add `Bosnadev\Database\DatabaseServiceProvider::class` to `config/app.php`'s `providers` array.

Then you are done.

### Lumen 5.\*

[](#lumen-5)

1. Run `composer require bosnadev/database` in your project root directory.
2. Add `$app->register(Bosnadev\Database\DatabaseServiceProvider::class);` to `bootstrap/app.php` (under the "Register Service Providers" section)
3. Uncomment the line `$app->withEloquent();` in `bootstrap/app.php`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.6% 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 ~89 days

Recently: every ~96 days

Total

24

Last Release

2057d ago

PHP version history (4 changes)0.1PHP &gt;=5.4.0

0.11PHP &gt;=5.4

0.18.1PHP &gt;=5.5

0.21PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/80be3f013565527695a5f5668276869318b37c49912af79263f715c1e069870e?d=identicon)[lscortesc](/maintainers/lscortesc)

---

Top Contributors

[![mirzap](https://avatars.githubusercontent.com/u/991967?v=4)](https://github.com/mirzap "mirzap (59 commits)")[![phaza](https://avatars.githubusercontent.com/u/4553?v=4)](https://github.com/phaza "phaza (9 commits)")[![gueroverde](https://avatars.githubusercontent.com/u/1765489?v=4)](https://github.com/gueroverde "gueroverde (7 commits)")[![howlowck](https://avatars.githubusercontent.com/u/338265?v=4)](https://github.com/howlowck "howlowck (4 commits)")[![zakhenry](https://avatars.githubusercontent.com/u/721513?v=4)](https://github.com/zakhenry "zakhenry (3 commits)")[![olegmelnik](https://avatars.githubusercontent.com/u/7072397?v=4)](https://github.com/olegmelnik "olegmelnik (1 commits)")[![pelim](https://avatars.githubusercontent.com/u/624330?v=4)](https://github.com/pelim "pelim (1 commits)")[![rap2hpoutre](https://avatars.githubusercontent.com/u/1575946?v=4)](https://github.com/rap2hpoutre "rap2hpoutre (1 commits)")[![martinnaughton](https://avatars.githubusercontent.com/u/4721428?v=4)](https://github.com/martinnaughton "martinnaughton (1 commits)")[![hotmeteor](https://avatars.githubusercontent.com/u/378585?v=4)](https://github.com/hotmeteor "hotmeteor (1 commits)")[![jimmypuckett](https://avatars.githubusercontent.com/u/3220069?v=4)](https://github.com/jimmypuckett "jimmypuckett (1 commits)")[![lscortesc](https://avatars.githubusercontent.com/u/6760803?v=4)](https://github.com/lscortesc "lscortesc (1 commits)")[![deadem](https://avatars.githubusercontent.com/u/7988931?v=4)](https://github.com/deadem "deadem (1 commits)")

---

Tags

laraveldatabasepostgresqleloquent

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[bosnadev/database

Eloquent Extended, added some PostgreSQL features

811.8M3](/packages/bosnadev-database)[dyrynda/laravel-model-uuid

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

4802.8M8](/packages/dyrynda-laravel-model-uuid)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[mvanduijker/laravel-transactional-model-events

Add eloquent model events fired after a transaction is committed or rolled back

75164.5k](/packages/mvanduijker-laravel-transactional-model-events)

PHPackages © 2026

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