Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 Commits

Repository files navigation

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

composer require webkernel/std-svg-collection

Usage

$svg = webkernel_grab_icon('arrow-right');
if ($svg !== null) {
echo$svg;
}

Icon sets

SetDirectorySource
Lucideresources/svg/lucide/lucide.dev
Simple Iconsresources/svg/simple-icons/simpleicons.org
Customresources/svg/custom/Project-specific icons, override any of the above

Search order: customlucidesimple-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).

About

[READ ONLY] Standard graphics, icons, pixmaps, backgrounds, and encoded brand assets for the Webkernel platform.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages