beep/vivid
Composer 安装命令:
composer require beep/vivid
包简介
An expressive set of recipes to extend functionality in Laravel Eloquent.
README 文档
README
Vivid is an expressive set of recipes to extend Laravel Eloquent. Features UUID key storage as BINARY(16) and 36 character strings.
Installation
composer require beep/vivid
Usage
Optimized UUID4
<?php use Beep\Vivid\Database\Eloquent\Model; class User extends Model { }
UUID4
class User extends Model { protected $optimizedUuid = false; }
ToDo
- Cleanup and expand tests both optimized and add non-optimized UUID Model tests.
- Properly cast optimized UUIDs.
- JSON serialization by indicated columns for optimized.
统计信息
- 总下载量: 123
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-02