承接 desmart/laravel-uuid-id 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

desmart/laravel-uuid-id

Composer 安装命令:

composer require desmart/laravel-uuid-id

包简介

Use UUIDs as IDs in Laravel models

README 文档

README

Latest version Tests Software License

Package provides a simple trait that allows to use/generate UUIDs as IDs in Laravel models.

Installation

To install the package via Composer, simply run the following command:

composer require desmart/laravel-uuid-id

Usage

This package does two things:

  • enables having UUID as an ID (by modifying some underlying Laravel model methods), and
  • automatically generates ordered UUID as an ID during model creation.

In any Laravel model that should use UUID as an ID, add HasUuidId trait:

class MyModel extends \Illuminate\Database\Eloquent\Model
{
    use \DeSmart\Laravel\Uuid\HasUuidId;
}

Changelog

Please see CHANGELOG for more information what has changed recently.

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-02-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固