blackcube/admin
最新稳定版本:3.6.1
Composer 安装命令:
composer require blackcube/admin
包简介
Blackcube CMS Administration system
README 文档
README
Pre-requisites
- PHP 7.4+
- Extension
dom - Extension
fileinfo - Extension
intl - Extension
json - Extension
mbstring
- Extension
- Apache or NginX
- Blackcube core 3;x
Pre-flight
Add blackcube admin to the project
composer require "blackcube/admin"
Installation
Beware:
Blackcube admincan only be installed ifBlackcube coreis already set up
Inject Blackcube admin in application
// main configuration file 'container' => [ 'singletons' => [ // local filesystem blackcube\core\components\Flysystem::class => [ 'class' => blackcube\core\components\FlysystemLocal::class, 'path' => getstrenv('FILESYSTEM_LOCAL_PATH'), ], // or s3 blackcube\core\components\Flysystem::class => [ 'class' => blackcube\core\components\FlysystemAwsS3::class, 'key' => getstrenv('FILESYSTEM_S3_KEY'), 'secret' => getstrenv('FILESYSTEM_S3_SECRET'), 'bucket' => getstrenv('FILESYSTEM_S3_BUCKET'), 'region' => getstrenv('FILESYSTEM_S3_REGION'), 'version' => 'latest', 'endpoint' => getstrenv('FILESYSTEM_S3_ENDPOINT'), 'pathStyleEndpoint' => getboolenv('FILESYSTEM_S3_PATH_STYLE'), ], ] ], // ... 'bootstrap' => [ // ... boostrapped modules 'blackcube', // blackcube core 'bo', // blackcube admin ], // ... 'modules' => [ // ... other modules 'blackcube' => [ 'class' => blackcube\core\Module::class, 'plugins' => [ // additional plugins ], 'cmsEnabledmodules' => [ // additional modules ], 'allowedParameterDomains' => ['], // override components if needed 'components' => [ 'db' => ... 'cache' => ... 'fs' => ... ], /// end override ], 'bo' => [ 'class' => blackcube\admin\Module::class, 'adminTemplatesAlias' => '@app/admin', 'additionalAssets' => [ // additional modules ], 'modules' => [ // additional modules ], // override components if needed 'components' => [ 'db' => ... 'cache' => ... 'fs' => ... ], /// end override ], ], // ...
Update DB
Add needed tables in DB
php yii.php migrate
Init all RBAC Roles and permissions
php yii.php bc:rbac
the command must be run each time a new Rbac (role / permssion) is added through a module or plugin
Create initial administrator
php yii.php bc:admin/create
Blackcube admin is now ready, you can access it through
https://host.domain/bo
blackcube/admin 适用场景与选型建议
blackcube/admin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 845 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 07 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「cms」 「content management」 「yii」 「yii2」 「back office」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 blackcube/admin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 blackcube/admin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 blackcube/admin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A block that displays featured content - large image, title, description and link.
2lenet/EasyAdminPlusBundle
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
统计信息
- 总下载量: 845
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2021-07-10