https://github.com/webkernelphp/standard-pix
Standard graphics, icons, pixmaps, backgrounds, and encoded brand assets for the Webkernel platform.
https://github.com/webkernelphp/standard-pix
Last synced: 27 days ago
JSON representation
Standard graphics, icons, pixmaps, backgrounds, and encoded brand assets for the Webkernel platform.
- Host: GitHub
- URL: https://github.com/webkernelphp/standard-pix
- Owner: webkernelphp
- Created: 2026-06-16T10:53:54.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-19T05:15:46.000Z (29 days ago)
- Last Synced: 2026-06-19T06:28:30.193Z (29 days ago)
- Language: PHP
- Size: 6.93 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# webkernel/std-svg-collection
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
```bash
composer require webkernel/std-svg-collection
```
## Usage
```php
$svg = webkernel_grab_icon('arrow-right');
if ($svg !== null) {
echo $svg;
}
```
## Icon sets
| Set | Directory | Source |
| ------------ | ----------------------------- | ------------------------------------------------- |
| Lucide | `resources/svg/lucide/` | [lucide.dev](https://lucide.dev) |
| Simple Icons | `resources/svg/simple-icons/` | [simpleicons.org](https://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).