aminsamadzadeh/eloquent-table-prefix

There is no license information available for the latest version (v1.0) of this package.

add prefix to eloquent tables

v1.0 2021-02-15 07:38 UTC

This package is auto-updated.

Last update: 2025-06-15 17:10:44 UTC


README

With this package you can add prefix to your tables.

Installing

just run below command:

composer require aminsamadzadeh/eloquent-prefix-table

Usage

<?php

namespace App\Models;
use AminSamadzadeh\EloquentTablePrefix\Model as BaseModel;

class Category extends BaseModel
{
    public $prefix = 'shop';
}