定制 rentmarket/eleqhant 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rentmarket/eleqhant

最新稳定版本:v1.1.3

Composer 安装命令:

composer require rentmarket/eleqhant

包简介

Eloquent extension to provide a little bit more functionality. Works for both L4 and L5

README 文档

README

Latest Version on Packagist Software License

I created this small class to adjust eloquent a little bit. When extending the class with your model you will get following functionality:

  • All database table names are in plural (users).
  • All table ID keys prefix the table name in singular (users table has primary key user_id).
  • If user is logged in and edits database data, then Eleqhant automatically updates table created_by, updated_by and deleted_by columns (if they exist in table)

Install

Via Composer

$ composer require rentmarket/eleqhant

Usage

Changes your models from extending Eloquent to Eleqhant and you are good to go

use Rentmarket\Eleqhant;

class User extends Eleqhant
{
    // ...
}

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

Tests have not been written. Sorry :)

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-02