Download the PHP package matthewhallcom/blade-mls-icons without Composer
On this page you can find all versions of the php package matthewhallcom/blade-mls-icons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download matthewhallcom/blade-mls-icons
More information about matthewhallcom/blade-mls-icons
Files in matthewhallcom/blade-mls-icons
Package blade-mls-icons
Short Description A package to make use of MLS Logos in your Laravel Blade views.
License MIT
Homepage https://github.com/MatthewHallCom/blade-mls-icons
Informations about the package blade-mls-icons
Blade MLS Icons
A package to easily make use of MLS logos in your Laravel Blade views.
For a full list of available icons see the SVG directory.
Requirements
- PHP 8.2 or higher
- Laravel 10.0 or higher
Installation
MLS Icons
Blade MLS Icons uses official MLS logos.
Configuration
Blade MLS Icons 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-mls-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:
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:
Maintainers
Blade mlsicons is developed and maintained by Matthew Hall.
License
Blade mlsicons is open-sourced software licensed under the MIT license.
All versions of blade-mls-icons with dependencies
blade-ui-kit/blade-icons Version ^1.4
illuminate/support Version ^10.0