brunocfalcao / blade-feather-icons Goto Github PK
View Code? Open in Web Editor NEWA package to easily make use of Feather Icons in your Laravel Blade views.
License: MIT License
A package to easily make use of Feather Icons in your Laravel Blade views.
License: MIT License
In blade icons, we can use the following syntax:
<x-icon name="camera"/>
Is there anything similar for blade-feather-icons?
I'm trying to generate dynamic menu with icons. Both methods below does not seem to work:
<x-feathericon-{{ $menu['icon'] }} />
<x-feathericon name="{{ $menu['icon'] }}" />
Hi,
would it be possible to make this package compatible with laravel dynamic components (https://laravel.com/docs/8.x/blade#dynamic-components) so we can create components that generate icons on the fly like this ?
<x-dynamic-component component="x-feathericon-{{ $icon }}"
class="w-5 h-5 mr-3 -ml-1 @if(request()->routeIs($routeIs)) text-primary @else text-black @endif" />
Thanks for the update !
Hi,
Is there a way to get icons to spin?
package.json
is missing a curly brace
blade-feather-icons/package.json
Lines 11 to 13 in 0aa88db
This is causing Vue Test Utils with Jest to fail.
Hello,
I am trying to upgrade my project to Laravel 9.0 from 8.75 and it seems that brunocflacaeo/blade-feather-icons
is not compatible with the latest releases.
- brunocfalcao/blade-feather-icons[v0.1.0, ..., v0.2.0] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
- brunocfalcao/blade-feather-icons v1.0.0 requires php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.
- brunocfalcao/blade-feather-icons[v1.1.0, ..., v1.1.3] require blade-ui-kit/blade-icons ^0.5 -> found blade-ui-kit/blade-icons[0.5.0, 0.5.1] but it conflicts with your root composer.json require (^1.2).
- brunocfalcao/blade-feather-icons[dev-dependabot/npm_and_yarn/follow-redirects-1.14.7, dev-dependabot/npm_and_yarn/url-parse-1.5.3, dev-dependabot/npm_and_yarn/path-parse-1.0.7, dev-master, 2.0.0, ..., v2.0.1] require illuminate/support ^7.14|^8.0 -> found illuminate/support[v7.14.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
I am not sure how to deal with this problem since composer seems to highlight the PHP version (but I was already running PHP 8.1.2 prior to Laravel update).
Any help would be greatly appreciated.
The package is giving an error when upgrading the project to Laravel 10. I'm trying to install v3.0 of the package
composer require brunocfalcao/blade-feather-icons:^3.0
Problem 1
- Root composer.json requires brunocfalcao/blade-feather-icons ^3.0, it is satisfiable by brunocfalcao/blade-feather-icons[v3.0.0] from composer repo (https://repo.packagist.org) but brunocfalcao/blade-feather-icons[dev-dependabot/npm_and_yarn/follow-redirects-1.14.7, dev-dependabot/npm_and_yarn/url-parse-1.5.3, dev-dependabot/npm_and_yarn/path-parse-1.0.7, dev-master, v0.1.0, ..., v0.2.0, v1.0.0, ..., v1.1.3, 2.0.0, v2.0.1] from vcs repo (git https://github.com/victorybiz/blade-feather-icons) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.