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

ActiveLibrary

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 1mo 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

29

—

LowBetter than 60% of packages

Maintenance37

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

571d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6774a853b82e3460374fa933fecb393e8f59a915ff24548c71cf9ebf770e64e1?d=identicon)[rishadblack](/maintainers/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

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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