{"id":36994176,"url":"https://github.com/meanbee/magento2-svghelper","last_synced_at":"2026-01-13T23:46:23.791Z","repository":{"id":62526345,"uuid":"81563587","full_name":"meanbee/magento2-svghelper","owner":"meanbee","description":"Simple module that provides a block level helper for reading in an SVG files source from a theme in Magento 2.","archived":false,"fork":false,"pushed_at":"2020-02-10T09:27:30.000Z","size":11,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-07-15T10:45:47.482Z","etag":null,"topics":["magento-extension","magento2","magento2-extension"],"latest_commit_sha":null,"homepage":null,"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/meanbee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-10T12:32:43.000Z","updated_at":"2023-07-15T10:45:47.483Z","dependencies_parsed_at":"2022-11-02T10:45:59.385Z","dependency_job_id":null,"html_url":"https://github.com/meanbee/magento2-svghelper","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"purl":"pkg:github/meanbee/magento2-svghelper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fmagento2-svghelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fmagento2-svghelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fmagento2-svghelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fmagento2-svghelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meanbee","download_url":"https://codeload.github.com/meanbee/magento2-svghelper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fmagento2-svghelper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["magento-extension","magento2","magento2-extension"],"created_at":"2026-01-13T23:46:23.730Z","updated_at":"2026-01-13T23:46:23.784Z","avatar_url":"https://github.com/meanbee.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2 SVG Helper\n\nSimple module that provides a block level helper for reading in an SVG files source from a theme in Magento 2.\n\n## Installation\n\nInstall this extension via Composer:\n\n```\ncomposer require meanbee/magento2-svghelper\n```\n\n## Development\n\n### Setting up a development environment\n\nA Docker development environment is included with the project:\n\n```\ndocker-compose run --rm cli magento-extension-installer Meanbee_SVGHelper \\\n\u0026\u0026 docker-compose up -d\n```\n\n## Usage\n\nThe SVGHelper is set as data on every block. This means that in your template you can call:\n\n```\u003c?php echo $block-\u003egetData('svgHelper')-\u003egetViewSvg('pathtofile.svg') ?\u003e```\n\nor\n\n```\u003c?php echo $block-\u003egetData('svgHelper')-\u003egetViewSvg('Magento_Module::pathtofile.svg') ?\u003e```\n\nThis will output the raw contents of the svg file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeanbee%2Fmagento2-svghelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeanbee%2Fmagento2-svghelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeanbee%2Fmagento2-svghelper/lists"}