承接 nomanur/sanctum-crud 相关项目开发

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

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

nomanur/sanctum-crud

Composer 安装命令:

composer require nomanur/sanctum-crud

包简介

a sanctum starter for laravel

README 文档

README

Latest Version on Packagist Total Downloads GitHub Actions

Installation

You can install the package via composer:

composer require nomanur/sanctum-crud

Usage

Add this in User Model

    public function roles() {
        return $this->belongsToMany(Role::class, 'user_roles');
    }

After That

    php artisan migrate

run that to generate migration and which will also seed role in roles table.

    php artisan sanctumcrud:route

all the routes will be added in your routes\api.php and check php artisan route:list to see all the routes.

After That

    php artisan vendor:publish

Publish Nomanur\SanctumCrud\SanctumCrudServiceProvider

And

    php artisan migrate

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email nomanurrahman@gmail.com instead of using the issue tracker.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固