PHPackages                             plcosta/laravel-openbase - 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. plcosta/laravel-openbase

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

plcosta/laravel-openbase
========================

Openbase (OpenSQL) driver for Laravel 5

0.1.4(10y ago)1363[1 PRs](https://github.com/plcosta/laravel-openbase/pulls)MITPHPPHP &gt;=5.5.9

Since Dec 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/plcosta/laravel-openbase)[ Packagist](https://packagist.org/packages/plcosta/laravel-openbase)[ RSS](/packages/plcosta-laravel-openbase/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (7)Versions (8)Used By (0)

Laravel Openbase (OpenSQL) Database Package
-------------------------------------------

[](#laravel-openbase-opensql-database-package)

### Laravel OpenBase (updated for 5.1)

[](#laravel-openbase-updated-for-51)

Openbase is an Openbase Database Driver package for [Laravel Framework](http://laravel.com/). Thanks OpenBase Sistemas ()

**Please report any bugs you may find.**

- [Installation](#installation)
- [Basic Usage](#basic-usage)
- [License](#license)

### Installation Guide

[](#installation-guide)

Add `plcosta/openbase` as a requirement to composer.json:

```
{
    "require": {
        "plcosta/openbase": "0.1.*"
    }
}
```

And then run `composer update`

Once Composer has installed or updated your packages you need to register OracleDB. Open up `config/app.php` and find the `providers` key and add:

```
Plcosta\Openbase\OpenSqlServiceProvider::class,
```

Finally you need to publish a configuration file by running the following Artisan command.

```
$ php artisan vendor:publish

```

This will copy the configuration file to config/openbase.php

### Basic Usage

[](#basic-usage)

The configuration file for this package is located at 'config/openbase.php'.

Once you have configured the OracleDB database connection(s), you may run queries using the 'DB' class as normal.

```
$results = DB::select('select * from users where id = ?', array(1));
```

The above statement assumes you have set the default connection to be the oracle connection you setup in config/database.php file and will always return an 'array' of results.

```
$results = DB::connection('openbase')->select('select * from ce02 where id = ?', array(1));
```

See [Laravel Database Basic Docs](http://four.laravel.com/docs/database) for more information.

### License

[](#license)

Licensed under the [MIT License](http://cheeaun.mit-license.org/).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Total

5

Last Release

3710d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1139813?v=4)[Pedro Costa](/maintainers/plcosta)[@plcosta](https://github.com/plcosta)

---

Top Contributors

[![eullercdr](https://avatars.githubusercontent.com/u/28054033?v=4)](https://github.com/eullercdr "eullercdr (1 commits)")

---

Tags

laravellumenlaravel 5openbasepdo\_open

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/plcosta-laravel-openbase/health.svg)

```
[![Health](https://phpackages.com/badges/plcosta-laravel-openbase/health.svg)](https://phpackages.com/packages/plcosta-laravel-openbase)
```

###  Alternatives

[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k29.9M42](/packages/kirschbaum-development-eloquent-power-joins)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8723.1M23](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.4M2](/packages/glushkovds-phpclickhouse-laravel)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k322.4k1](/packages/cybercog-laravel-love)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

438834.4k1](/packages/clickbar-laravel-magellan)

PHPackages © 2026

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