PHPackages                             rishadblack/oracle-table-linker - 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. rishadblack/oracle-table-linker

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

rishadblack/oracle-table-linker
===============================

A Laravel package for Oracle database users, allowing seamless management of database-linked tables and aliases with automated first-call handling and dynamic aliasing.

1.1.7(1y ago)122AGPL-3.0PHPPHP ^8.1

Since Sep 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rishadblack/oracle-table-linker)[ Packagist](https://packagist.org/packages/rishadblack/oracle-table-linker)[ Docs](https://github.com/rishadblack/oracle-table-linker)[ RSS](/packages/rishadblack-oracle-table-linker/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (4)Dependencies (3)Versions (8)Used By (0)

Oracle Table Linker
===================

[](#oracle-table-linker)

**Oracle Table Linker** is a Laravel package specifically designed for managing database-linked tables and aliases in Oracle databases. This package provides a convenient trait that simplifies the handling of table names and aliases, ensuring seamless integration with Laravel models.

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

[](#description)

Oracle Table Linker enhances Laravel's capabilities by allowing developers to manage database-linked tables more efficiently. The package provides a trait, `HasDbLink`, which handles dynamic aliasing and first-call handling. This feature is particularly useful for Oracle databases where table names may include database links.

Features
--------

[](#features)

- **Dynamic Aliasing**: Automatically handles table aliasing based on database link presence.
- **First-Call Handling**: Manages the first call to ensure proper alias usage.
- **Easy Integration**: Easily integrates with Laravel models using a simple Artisan command or manual addition.

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

[](#installation)

### Via Composer

[](#via-composer)

To install Oracle Table Linker, use Composer to add it to your Laravel project. Run the following command:

```
composer require rishadblack/oracle-table-linker
```

### Usage

[](#usage)

Automatic Package Discovery
---------------------------

[](#automatic-package-discovery)

This package uses Laravel's automatic package discovery, so no additional configuration is required. Once installed, it will be automatically discovered and registered in your Laravel application. Adding the Trait to a Model

You can add the HasDbLink trait to your model either manually or using the Artisan command.

Manually
--------

[](#manually)

To add the trait manually, include the following line at the top of your model file:

```
use Rishadblack\OracleTableLinker\Traits\HasDbLink;
```

Then, add the HasDbLink trait to the class:

```
class YourModel extends Model
{
    use HasDbLink;
}
```

Using Artisan Command
---------------------

[](#using-artisan-command)

You can also use the Artisan command to automatically add the trait to your model. Run the following command:

```
php artisan model:dblink YourModel
```

Replace YourModel with the name of your model. This command will add the HasDbLink trait to the specified model.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

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

Total

6

Last Release

625d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50762398?v=4)[S M Rishad](/maintainers/rishadblack)[@rishadblack](https://github.com/rishadblack)

---

Top Contributors

[![rishadblack](https://avatars.githubusercontent.com/u/50762398?v=4)](https://github.com/rishadblack "rishadblack (13 commits)")

---

Tags

laravelOracleTableLinker

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rishadblack-oracle-table-linker/health.svg)

```
[![Health](https://phpackages.com/badges/rishadblack-oracle-table-linker/health.svg)](https://phpackages.com/packages/rishadblack-oracle-table-linker)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

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

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[lemaur/eloquent-publishing

218.1k1](/packages/lemaur-eloquent-publishing)

PHPackages © 2026

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