Download the PHP package nerdroid23/blade-icomoon without Composer
On this page you can find all versions of the php package nerdroid23/blade-icomoon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nerdroid23/blade-icomoon
More information about nerdroid23/blade-icomoon
Files in nerdroid23/blade-icomoon
Package blade-icomoon
Short Description A package to easily make use of "IcoMoon" in your Laravel Blade views.
License MIT
Homepage https://github.com/nerdroid23/blade-icomoon
Informations about the package blade-icomoon
Blade IcoMoon
A package to easily make use of IcoMoon in your Laravel Blade views.
For a full list of available icons see the SVG directory.
Requirements
- PHP 7.4 or higher
- Laravel 8.0 or higher
Install
You can install the package via composer:
Configuration
Blade IcoMoon also offers the ability to use features from Blade Icons like default classes, default attributes, etc. If you'd like to configure these, publish the blade-icomoon.php
config file:
You can publish the config file with:
This is the contents of the published config file:
Usage
Icons can be used a self-closing Blade components which will be compiled to SVG icons:
You can also pass classes to your icon components:
And even use inline styles:
Raw SVG Icons
If you want to use the raw SVG icons as assets, you can publish them using:
Then use them in your views like:
Blade Icons
Blade IcoMoon uses Blade Icons under the hood. Please refer to the Blade Icons readme for additional functionality.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Joe Sylnice
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of blade-icomoon with dependencies
spatie/laravel-package-tools Version ^1.4.3
blade-ui-kit/blade-icons Version ^1.5
illuminate/support Version ^8.0|^9.0||^10.0