mitchbred / entrust
此包提供了一种灵活的方式来给Laravel添加基于角色的权限,它是由Zizaco/entrust分叉而来的。
2.4.9
2024-07-08 07:57 UTC
Requires
- php: ^8.2
- brick/math: ^0.11.0
- doctrine/inflector: ^2.0.8
- hamcrest/hamcrest-php: ^2.0.1
- illuminate/bus: ^11.0.0
- illuminate/cache: ^11.0.0
- illuminate/collections: ^11.0.0
- illuminate/conditionable: ^11.0.0
- illuminate/console: ^11.0.0
- illuminate/container: ^11.0.0
- illuminate/contracts: ^11.0.0
- illuminate/database: ^11.0.0
- illuminate/events: ^11.0.0
- illuminate/filesystem: ^11.0.0
- illuminate/macroable: ^11.0.0
- illuminate/pipeline: ^11.0.0
- illuminate/support: ^11.0.0
- illuminate/view: ^11.0.0
- laravel/prompts: ^0.1.13
- myclabs/deep-copy: ^1.11.0
- nesbot/carbon: ^3.6
- nikic/php-parser: ^5.0.2
- phar-io/manifest: ^2.0.3
- phar-io/version: ^3.2.1
- psr/cache: ^3.0.0
- psr/clock: ^1.0.0
- psr/container: ^2.0.2
- psr/event-dispatcher: ^1.0.0
- psr/log: ^3.0.0
- psr/simple-cache: ^3.0.0
- sebastian/cli-parser: ^3.0.1
- sebastian/code-unit: ^3.0.0
- sebastian/code-unit-reverse-lookup: ^4.0.0
- sebastian/comparator: ^6.0.0
- sebastian/complexity: ^4.0.0
- sebastian/diff: ^6.0.0
- sebastian/environment: ^7.1.0
- sebastian/exporter: ^6.0.1
- sebastian/global-state: ^7.0.1
- sebastian/lines-of-code: ^3.0.0
- sebastian/object-enumerator: ^6.0.0
- sebastian/object-reflector: ^4.0.0
- sebastian/recursion-context: ^6.0.0
- sebastian/type: ^5.0.0
- sebastian/version: ^5.0.0
- symfony/cache: ^7.0.4
- symfony/cache-contracts: ^3.3.0
- symfony/console: ^7.0.4
- symfony/deprecation-contracts: ^3.3.0
- symfony/event-dispatcher: ^7.0.4
- symfony/event-dispatcher-contracts: ^3.3.0
- symfony/finder: ^7.0.4
- symfony/options-resolver: ^7.0.4
- symfony/polyfill-ctype: ^1.0.0
- symfony/polyfill-intl-grapheme: ^1.0.0
- symfony/polyfill-intl-normalizer: ^1.0.0
- symfony/polyfill-mbstring: ^1.0.0
- symfony/polyfill-php80: ^1.0.0
- symfony/process: ^7.0.4
- symfony/service-contracts: ^3.3.0
- symfony/string: ^7.0.4
- symfony/translation: ^7.0.4
- symfony/translation-contracts: ^3.3.0
- symfony/var-exporter: ^7.0.4
- symfony/yaml: ^7.0.4
- theseer/tokenizer: ^1.2.1
- voku/portable-ascii: ^2.0.1
Requires (Dev)
- mockery/mockery: ^1.5.1
- overtrue/phplint: ^9.0.3
- phpunit/php-file-iterator: ^5.0
- phpunit/php-invoker: dev-main
- phpunit/php-text-template: dev-main
- phpunit/php-timer: dev-main
- phpunit/phpunit: ^11
README
这个分支是为了修复包,使其能够在Laravel v10上安装。
安装
运行:composer require mitchbred/entrust
点击这里获取完整文档。
我只更新了依赖项,因为我必须升级现有的Laravel项目。请不要为此项目使用此包,目前它已被废弃。请考虑使用spatie/laravel-permission,它应该是一个不错的选择。