{"id":15937149,"url":"https://github.com/log1x/blade-filetype-icons","last_synced_at":"2025-07-02T17:03:13.102Z","repository":{"id":189880055,"uuid":"681484902","full_name":"Log1x/blade-filetype-icons","owner":"Log1x","description":"A package to easily make use of dmhendricks/file-icon-vectors in your Laravel Blade views.","archived":false,"fork":false,"pushed_at":"2024-03-15T10:38:15.000Z","size":1068,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T13:55:50.406Z","etag":null,"topics":["blade","filetypes","icons","laravel","svg"],"latest_commit_sha":null,"homepage":"https://github.com/Log1x/blade-filetype-icons","language":"PHP","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/Log1x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-08-22T05:56:19.000Z","updated_at":"2024-04-12T11:10:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"08296990-0367-4b06-b34d-bb0b762d6624","html_url":"https://github.com/Log1x/blade-filetype-icons","commit_stats":null,"previous_names":["log1x/blade-filetype-icons"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-filetype-icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-filetype-icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-filetype-icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-filetype-icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Log1x","download_url":"https://codeload.github.com/Log1x/blade-filetype-icons/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245418098,"owners_count":20612058,"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":["blade","filetypes","icons","laravel","svg"],"created_at":"2024-10-07T05:00:26.718Z","updated_at":"2025-03-25T07:30:41.423Z","avatar_url":"https://github.com/Log1x.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Social Image](https://i.imgur.com/V7BF0ku.png)\n\n# Blade File Type Icons\n\n![Latest Stable Version](https://img.shields.io/packagist/v/log1x/blade-filetype-icons.svg?style=flat-square)\n![Total Downloads](https://img.shields.io/packagist/dt/log1x/blade-filetype-icons.svg?style=flat-square)\n![Build Status](https://img.shields.io/github/actions/workflow/status/log1x/blade-filetype-icons/main.yml?branch=main\u0026style=flat-square)\n\nA package to easily make use of [file-icon-vectors](https://github.com/dmhendricks/file-icon-vectors) by [Daniel Hendricks](https://github.com/dmhendricks) in your Laravel Blade views.\n\nThis package focuses on the `vivid` and `square-o` variations of `file-icon-vectors` as they are able to be made monochrome.\n\nFor a full list of available icons, see [the SVG directory](resources/svg) or the [original repo](https://github.com/dmhendricks/file-icon-vectors/tree/master/dist/icons).\n\n## Requirements\n\n- PHP 8.0 or higher\n- Laravel 9.0 or higher\n\n## Installation\n\n```bash\n$ composer require log1x/blade-filetype-icons\n```\n\n## Blade Icons\n\nBlade File Type Icons uses Blade Icons under the hood. Please refer to [the Blade Icons readme](https://github.com/blade-ui-kit/blade-icons) for additional functionality. We also recommend to [enable icon caching](https://github.com/blade-ui-kit/blade-icons#caching) with this library.\n\n## Configuration\n\nBlade File Type 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-filetype-icons.php` config file:\n\n```bash\nphp artisan vendor:publish --tag=blade-filetype-icons-config\n```\n\n## Usage\n\nIcons can be used as self-closing Blade components which will be compiled to SVG icons:\n\n```blade\n\u003cx-filetype-v-exe /\u003e\n```\n\nYou can also pass classes to your icon components:\n\n```blade\n\u003cx-filetype-v-exe class=\"w-6 h-6 text-gray-500\" /\u003e\n```\n\nAnd even use inline styles:\n\n```blade\n\u003cx-filetype-v-exe style=\"color: #555\" /\u003e\n```\n\nOr use the `@svg` directive:\n\n```blade\n@svg('filetype-v-exe', 'w-6 h-6', ['style' =\u003e 'color: #555'])\n```\n\nThe square-o icons can be referenced like this:\n\n```blade\n\u003cx-filetype-s-exe /\u003e\n```\n\n### Raw SVG Icons\n\nIf you want to use the raw SVG icons as assets, you can publish them using:\n\n```bash\nphp artisan vendor:publish --tag=blade-filetype-icons --force\n```\n\nThen use them in your views like:\n\n```blade\n\u003cimg src=\"{{ asset('vendor/blade-filetype-icons/v-exe.svg') }}\" width=\"10\" height=\"10\"/\u003e\n```\n\n## Bug Reports\n\nIf you discover a bug in Blade File Type Icons, please [open an issue](https://github.com/Log1x/blade-filetype-icons/issues).\n\n## Contributing\n\nContributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.\n\n## License\n\nBlade File Type Icons is provided under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fblade-filetype-icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog1x%2Fblade-filetype-icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fblade-filetype-icons/lists"}