Skip to content
Override table prefix for a laravel model
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
composer.json

README.md

laravel-override-table-prefix

框架要求

Laravel >= 5.0

安装

composer require mmzou/laravel-override-table-prefix

使用

在User model里添加trait:

<?php

namespace App;

use Mmzou\LaravelOverrideTablePrefix\OverrideTablePrefix;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable
{
    use OverrideTablePrefix;
}

License

MIT

You can’t perform that action at this time.