webkernel/standard-pix
Composer 安装命令:
composer require webkernel/standard-pix
包简介
Standard graphics, icons, pixmaps, backgrounds, and encoded brand assets for the Webkernel platform.
README 文档
README
Standalone collection of +6000 SVG icons (Lucide, Simple Icons, and custom) for the Webkernel platform.
No Laravel dependency. Works in any PHP 8.4+ project.
Installation
composer require webkernel/std-svg-collection
Usage
$svg = webkernel_grab_icon('arrow-right'); if ($svg !== null) { echo $svg; }
Icon sets
| Set | Directory | Source |
|---|---|---|
| Lucide | resources/svg/lucide/ |
lucide.dev |
| Simple Icons | resources/svg/simple-icons/ |
simpleicons.org |
| Custom | resources/svg/custom/ |
Project-specific icons, override any of the above |
Search order: custom → lucide → simple-icons. The first match wins.
Functions
webkernel_grab_icon(string $filename): ?string
Returns raw SVG markup for the given icon name (without extension), or null
if not found.
License
EPL-2.0 — see upstream icon set licenses for icon-specific terms (Lucide: ISC, Simple Icons: CC0).
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: EPL-2.0
- 更新时间: 2026-06-22