armincms/bios
Composer 安装命令:
composer require armincms/bios
包简介
A Laravel Nova tool.
README 文档
README
The Nova tool for configurations storage
Table of Contents
Introduction
Bios is a well-designed UI based on the armincms/option package for store the configurations data.
Installation
To get started with Bios run the below command:
composer require armincms/bios
After configuring the armincms/option package; you need to register the Bios tool.
for doing this refer here
Resources
The Bios tool; will detect the configurable options by the resources fields. Bios resources are like Nova sources, but easier. to create new settings, you need to create a Bios resource. for doing this run the below command:
php artisan bios:resource ResourceName
this command makes a new resource in the app/Nova directory. this resource never displayed in the Nova resource nav but will display in the Bios resources.
If you have correctly registered the Bios tool, you will see a new Nav item containing your new resources.
Attention 1 :
By default, the Bios will read the storage driver from the armincms/option configurations.
Attention 2:
For use custom storage you can change the public static $store = null property of the resource.
Attention 3:
For authorizing each config option you can define a policy for the Armincms\Bios\Option model or create your model and change the resource public static $model property and make a policy for it.
Attention 4:
It's possible to access your stored data by the static method option of the resource.
so if you created the resource 'General'; you can get all data by the General::options() method.
In the same way; you can retrieve the specific data by the General::option(key, default) method.
Attention 5:
Methods that defined in attention 4 are just helpers and also you can use
armincms/option helpers method instead of it.
armincms/bios 适用场景与选型建议
armincms/bios 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 2.23k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2020 年 01 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「nova」 「option」 「laravel」 「armincms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 armincms/bios 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 armincms/bios 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 armincms/bios 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel Nova card that shows you your system information.
A Laravel Nova card.
Console Configuration Helper implementation.
A Laravel Nova package for publishable fields
A Laravel Nova package for translatable fields
Maybe for PHP
统计信息
- 总下载量: 2.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 4
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-11