webkernel / standard-pix
Standard graphics, icons, pixmaps, backgrounds, and encoded brand assets for the Webkernel platform.
Package info
github.com/webkernelphp/standard-pix
Type:webkernel-assets
pkg:composer/webkernel/standard-pix
dev-main
2026-06-22 12:15 UTC
Requires
- php: >=8.4
- webkernel/standard-lifecycle: 0.12.0
- webkernel/standard-paths: 0.12.0
This package is auto-updated.
Last update: 2026-06-22 12:15:54 UTC
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).