SvgInline

SvgInline

Inline SVG file manipulation

Bootstrap Icons

Provides simple functions to add Bootstrap Icons inline. Depends on SvgInline.

$svg->bootstrap($iconName);

Options

bootstrap string
Required
Valid name of a Bootstrap Icon.
fixedWidth bool
false
Set to true to have a fixed width icon.

Example

echo $svg->bootstrap('alarm')->title('Wake Up');

Support

Create an issue →
Packagist Version PHP Version Downloads Last Commit GitHub Workflow Status