csoellinger/silverstripe-admin-icons
Composer 安装命令:
composer require csoellinger/silverstripe-admin-icons
包简介
Little helper classes to get SilverStripe admin icon names easily.
关键字:
README 文档
README
Little helper classes to get SilverStripe admin icon names easily.
Requirements
- PHP 7.* or PHP 8.0
- SilverStripe ^4
- SilverStripe Admin ^1
Installation
Just install it with composer. Major and minor versions should be equal to SilverStripe Admin.
composer require csoellinger/silverstripe-admin-icons
License
See License
Documentation
The package generates three classes for all Icons.
Csoellinger\Silverstripe\AdminIcons\AdminIcon
Held the icon names as class constants. Source
<?php use Csoellinger\Silverstripe\AdminIcons\AdminIcon; echo AdminIcon::SEARCH; // Output: search
Csoellinger\Silverstripe\AdminIcons\AdminIconCss
Held the icon names prefixed with "font-icon-" as class constants. Source
<?php use Csoellinger\Silverstripe\AdminIcons\AdminIconCss; echo AdminIconCss::SEARCH; // Output: font-icon-search
Csoellinger\Silverstripe\AdminIcons\AdminIconUnicode
Held the icon unicode characters as class constants. Source
<?php use Csoellinger\Silverstripe\AdminIcons\AdminIconUnicode; echo AdminIconUnicode::SEARCH; // Output: s
Maintainers
- Christopher Söllinger christopher.soellinger@gmail.com
Bugtracker
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
(Re-)Generate classes
The package provide a composer script which handles the class generation. It uses the SilverStripe font svg directly from the vendor directoryto get only necessary icons. To (re)generate the classes run the following command:
composer run generate-constant-class
Icon Preview
There is a small script included which allows you to see all included icons. The easiest way to start this is by running a composer script:
composer run serve
csoellinger/silverstripe-admin-icons 适用场景与选型建议
csoellinger/silverstripe-admin-icons 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 69 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 08 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「plugin」 「module」 「addon」 「class」 「helper」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 csoellinger/silverstripe-admin-icons 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 csoellinger/silverstripe-admin-icons 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 csoellinger/silverstripe-admin-icons 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
2lenet/EasyAdminPlusBundle
Analysis module for finding problematical shop data.
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
Yii2 module to manage website content. Kind of a CMS...
Plugin for YOURLS. Default tools to use in some laemmi plugins
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-30