{"id":15641253,"url":"https://github.com/log1x/blade-svg-sage","last_synced_at":"2025-04-09T09:10:06.607Z","repository":{"id":62518631,"uuid":"87686249","full_name":"Log1x/blade-svg-sage","owner":"Log1x","description":"A simple package to add support for Blade SVG by Adam Wathan to Roots Sage.","archived":false,"fork":false,"pushed_at":"2024-03-27T13:52:34.000Z","size":1623,"stargazers_count":73,"open_issues_count":1,"forks_count":13,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-02T07:09:18.283Z","etag":null,"topics":["blade","blade-directives","roots-io","sage","sage9","svg","wordpress"],"latest_commit_sha":null,"homepage":"","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":".github/FUNDING.yml","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},"funding":{"github":"Log1x"}},"created_at":"2017-04-09T05:51:04.000Z","updated_at":"2024-10-30T18:39:12.000Z","dependencies_parsed_at":"2024-06-19T01:39:15.235Z","dependency_job_id":"7469742b-c945-4fde-85be-8a5b44da53ec","html_url":"https://github.com/Log1x/blade-svg-sage","commit_stats":{"total_commits":40,"total_committers":4,"mean_commits":10.0,"dds":0.09999999999999998,"last_synced_commit":"5b7b96a6a98a8125f563edee17fec38c05071b51"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-svg-sage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-svg-sage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-svg-sage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fblade-svg-sage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Log1x","download_url":"https://codeload.github.com/Log1x/blade-svg-sage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"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","blade-directives","roots-io","sage","sage9","svg","wordpress"],"created_at":"2024-10-03T11:42:00.562Z","updated_at":"2025-04-09T09:10:06.587Z","avatar_url":"https://github.com/Log1x.png","language":"PHP","funding_links":["https://github.com/sponsors/Log1x"],"categories":[],"sub_categories":[],"readme":"# Blade SVG for Sage\n\n[![Latest Stable Version](https://poser.pugx.org/log1x/blade-svg-sage/v/stable)](https://packagist.org/packages/log1x/blade-svg-sage) [![Total Downloads](https://poser.pugx.org/log1x/blade-svg-sage/downloads)](https://packagist.org/packages/log1x/blade-svg-sage)\n\nBlade SVG for Sage is a wrapper for [Blade SVG](https://github.com/adamwathan/blade-svg) by Adam Wathan allowing you to easily use SVG's in your Blade templates, either as an inline SVG or SVG sprite when using Sage 9.\n\n**Using Sage 10?** Check out [**Sage SVG**](https://github.com/Log1x/sage-svg).\n\n## Requirements\n\n* [Sage](https://github.com/roots/sage) \u003e= 9.0\n* [PHP](https://secure.php.net/manual/en/install.php) \u003e= 7.0\n* [Composer](https://getcomposer.org/download/)\n\n## Installation\n\nInstall via Composer:\n\n```bash\n$ composer require log1x/blade-svg-sage\n```\n\n## Configuration\n\nUse the provided configuration filter below to modify the default configuration.\n\n```php\nadd_filter('bladesvg', function () {\n    return [\n        'svg_path' =\u003e 'resources/svg',\n        'spritesheet_path' =\u003e 'resources/svg/spritesheet.svg',\n        'spritesheet_url' =\u003e '',\n        'sprite_prefix' =\u003e '',\n        'inline' =\u003e true,\n        'class' =\u003e ''\n    ];\n});\n```\n\n## Usage\n\nPlease refer to the original [Blade SVG documentation](https://github.com/adamwathan/blade-svg#basic-usage) for usage examples.\n\nNote: When calling helper functions directly, you must use the `App` namespace.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fblade-svg-sage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog1x%2Fblade-svg-sage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fblade-svg-sage/lists"}