{"id":19092089,"url":"https://github.com/eosnewmedia/external-layout-bundle","last_synced_at":"2026-04-27T18:32:39.642Z","repository":{"id":37546917,"uuid":"93728507","full_name":"eosnewmedia/External-Layout-Bundle","owner":"eosnewmedia","description":"Load and store html layouts from remote locally as twig templates.","archived":false,"fork":false,"pushed_at":"2023-02-02T09:56:18.000Z","size":97,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-02T23:14:24.104Z","etag":null,"topics":["dom","external","html","layouts","php","remote","symfony","symfony-bundle","template","twig"],"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/eosnewmedia.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-06-08T08:59:18.000Z","updated_at":"2020-08-20T00:18:17.000Z","dependencies_parsed_at":"2023-02-17T18:00:31.595Z","dependency_job_id":null,"html_url":"https://github.com/eosnewmedia/External-Layout-Bundle","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eosnewmedia%2FExternal-Layout-Bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eosnewmedia%2FExternal-Layout-Bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eosnewmedia%2FExternal-Layout-Bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eosnewmedia%2FExternal-Layout-Bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eosnewmedia","download_url":"https://codeload.github.com/eosnewmedia/External-Layout-Bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240142737,"owners_count":19754632,"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":["dom","external","html","layouts","php","remote","symfony","symfony-bundle","template","twig"],"created_at":"2024-11-09T03:18:02.242Z","updated_at":"2026-04-27T18:32:39.601Z","avatar_url":"https://github.com/eosnewmedia.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"External-Layout-Bundle\n======================\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/b6266ec0-d13c-4558-8c74-772f97c18da6/mini.png)](https://insight.sensiolabs.com/projects/b6266ec0-d13c-4558-8c74-772f97c18da6)\n\nThis bundle integrates [enm/external-layout](https://github.com/eosnewmedia/External-Layout) into your symfony project.\n\n## Installation\n\n```sh\n    composer require enm/external-layout-bundle e-moe/guzzle6-bundle\n```\n\n## YAML Confiugration\nThe YAML configuration (\"layouts\") equal the array structure from [enm/external-layout](https://github.com/eosnewmedia/External-Layout).\n\n```yaml\nenm_external_layout:\n    useGuzzle: true # default: false; requires a service \"GuzzleHttp\\ClientInterface\" (e.g. e-moe/guzzle6-bundle)\n    layouts:\n      test:\n          source: 'http://example.com'\n          destination: '%kernel.project_dir%/templates/test.html.twig'\n          blocks:\n              prepend:\n                  headline: 'body'\n              append:\n                  stylesheets: 'head'\n              replace:\n                  title: '$title$'\n```\n\n## Commands\n### enm:external-layout:create\nThis command get the configs and create a twig template file for each configured layout.\n\n```sh\n# Create all templates\nbin/console enm:external-layout:create\n\n# Create the template \"test.html.twig\"\nbin/console enm:external-layout:create --layout=test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feosnewmedia%2Fexternal-layout-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feosnewmedia%2Fexternal-layout-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feosnewmedia%2Fexternal-layout-bundle/lists"}