sage/some-help

some tools can help u

v1.3.5 2020-05-18 02:41 UTC

This package is not auto-updated.

Last update: 2024-12-10 00:36:34 UTC


README

some tools can help u

使用案例

见test目录下的Test类的使用

laravel install

1、在 composer.json 中增加以下配置:

"require": {
        "sage/some-help":"dev-master"
    },
"repositories": [
        {
            "type": "vcs",
            "url": "https://gitee.com/scottq/SomeHelp.git"
        }
    ]

运行 composer install

2、将对应 ServiceProvider 加入 config/app.php 的 providers 配置中,例如:

'providers' => [
        \Sage\Help\Laravel\Rbac\ServiceProvider::class,
    ],

3、运行

php artisan vendor:publish --provider="Sage\Help\Laravel\Rbac\ServiceProvider"

目前可用的 ServiceProvider:

# RBAC provider
Sage\Help\Laravel\Rbac\ServiceProvider::class