{"id":24536023,"url":"https://github.com/poldixd/laravel-feather","last_synced_at":"2025-04-15T01:08:20.271Z","repository":{"id":42631305,"uuid":"236456895","full_name":"poldixd/laravel-feather","owner":"poldixd","description":"Use Feather Icons as a Blade include() or Blade Component in your Laravel application","archived":false,"fork":false,"pushed_at":"2025-02-04T09:47:42.000Z","size":155,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T01:08:12.142Z","etag":null,"topics":["composer-package","feather","feather-icons","icons","laravel","svg","svg-icons"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/poldixd/laravel-feather","language":"Blade","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poldixd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-27T09:32:21.000Z","updated_at":"2025-02-04T09:47:02.000Z","dependencies_parsed_at":"2024-05-02T05:39:53.409Z","dependency_job_id":"978a7108-64a3-4734-8926-8103ebf50778","html_url":"https://github.com/poldixd/laravel-feather","commit_stats":{"total_commits":51,"total_committers":3,"mean_commits":17.0,"dds":0.05882352941176472,"last_synced_commit":"77663a22b8a9532471e28a7d506f7b181d621c38"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poldixd%2Flaravel-feather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poldixd%2Flaravel-feather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poldixd%2Flaravel-feather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poldixd%2Flaravel-feather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poldixd","download_url":"https://codeload.github.com/poldixd/laravel-feather/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986312,"owners_count":21194025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer-package","feather","feather-icons","icons","laravel","svg","svg-icons"],"created_at":"2025-01-22T13:52:04.578Z","updated_at":"2025-04-15T01:08:20.243Z","avatar_url":"https://github.com/poldixd.png","language":"Blade","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poldixd/laravel-feather\n\nUse [Feather Icons](https://feathericons.com) as a Blade `include()` or [Blade Component](https://laravel.com/docs/7.x/blade#components) in your Laravel 9.x or 10.x application. This Package uses [Feather 4.28.0](https://github.com/feathericons/feather/releases/tag/v4.28.0).\n\n## Installation\n\nSimply require poldixd/larave-feather through Composer:\n\n```bash\ncomposer require poldixd/laravel-feather\n```\n\n## Usage\n\nInclude the icon like a Blade template in your view:\n\n```php+HTML\n\u003c!-- Your Blade view --\u003e\n@include('feather::airplay')\n\n\u003c!-- Output: --\u003e\n\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-airplay\"\u003e\u003cpath d=\"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1\"\u003e\u003c/path\u003e\u003cpolygon points=\"12 15 17 21 7 21 12 15\"\u003e\u003c/polygon\u003e\u003c/svg\u003e\n```\n\nOptional you can use Blade Components if you're using [laravel](https://laravel.com) greater than 7.x.\n\n```php+HTML\n\u003c!-- Your Blade view --\u003e\n\u003cx:feather-activity /\u003e\n\n\u003c!-- Output: --\u003e\n\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-airplay\"\u003e\u003cpath d=\"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1\"\u003e\u003c/path\u003e\u003cpolygon points=\"12 15 17 21 7 21 12 15\"\u003e\u003c/polygon\u003e\u003c/svg\u003e\n```\n\nYou can find a list of all icons on [this](https://feathericons.com/) website.\n\n### Using CSS Classes\n\nYou can include the icons with css classes.\n\n```php+HTML\n\u003c!-- Your Blade view --\u003e\n@include('feather::airplay', ['class' =\u003e 'my-awesome-class my-second-class'])\n\n\u003c!-- or as a blade component --\u003e\n\u003cx:feather-activity class=\"my-awesome-class my-second-class\" /\u003e\n\n\u003c!-- Output: --\u003e\n\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-airplay my-awesome-class my-second-class\"\u003e\u003cpath d=\"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1\"\u003e\u003c/path\u003e\u003cpolygon points=\"12 15 17 21 7 21 12 15\"\u003e\u003c/polygon\u003e\u003c/svg\u003e\n```\n\n### Using Style attributes\n\n```php+HTML\n\u003c!-- Your Blade view --\u003e\n@include('feather::airplay', ['style' =\u003e 'color: red'])\n\n\u003c!-- or as a blade component --\u003e\n\u003cx:feather-activity style=\"color: red\" /\u003e\n\n\u003c!-- Output: --\u003e\n\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-airplay\" style=\"color: red\"\u003e\u003cpath d=\"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1\"\u003e\u003c/path\u003e\u003cpolygon points=\"12 15 17 21 7 21 12 15\"\u003e\u003c/polygon\u003e\u003c/svg\u003e\n```\n\n## License\n\npoldixd/laravel-feather is licensed under the [MIT License](https://github.com/poldixd/laravel-feather/blob/master/LICENSE). The icons in this code are from [Feather](https://github.com/feathericons/feather). It is also licensed under the [MIT License](https://github.com/feathericons/feather/blob/master/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoldixd%2Flaravel-feather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoldixd%2Flaravel-feather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoldixd%2Flaravel-feather/lists"}