Download the PHP package sertxudeveloper/blade-icons without Composer
On this page you can find all versions of the php package sertxudeveloper/blade-icons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sertxudeveloper/blade-icons
More information about sertxudeveloper/blade-icons
Files in sertxudeveloper/blade-icons
Package blade-icons
Short Description Custom icons for Laravel Blade
License MIT
Homepage https://github.com/sertxudeveloper/blade-icons
Informations about the package blade-icons
Blade Icons - Sertxu's Collection
This package provides a collection of custom icons for Laravel Blade. It is based on Blade Icons from Blade UI Kit.
Requirements
- PHP 8.2 or higher
- Laravel 11.x or higher
Installation
Blade Icons
Blade Icons - Sertxu's Collection uses Blade Icons from Blade UI Kit under the hood. Please refer to the Blade Icons readme for additional functionality. We also recommend to enable icon caching with this library.
Configuration
Blade Icons - Sertxu's Collection 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 icons.php
config file:
Usage
Icons can be used as 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:
The solid icons can be referenced like this:
Testing
This package contains tests, you can run them using the following command:
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Sergio Peris
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Copyright © 2024 Sertxu Developer