{"id":14971458,"url":"https://github.com/netzstrategen/fractal-twig","last_synced_at":"2025-07-27T14:08:33.346Z","repository":{"id":54317590,"uuid":"97720296","full_name":"netzstrategen/fractal-twig","owner":"netzstrategen","description":"Re-use Twig templates within Fractal. ","archived":false,"fork":false,"pushed_at":"2021-02-24T14:18:31.000Z","size":76,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-23T09:06:24.561Z","etag":null,"topics":["drupal","fractal","pattern-library","twig","twig-adapter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netzstrategen.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-19T13:37:54.000Z","updated_at":"2023-08-20T10:07:15.000Z","dependencies_parsed_at":"2022-08-13T11:50:46.621Z","dependency_job_id":null,"html_url":"https://github.com/netzstrategen/fractal-twig","commit_stats":null,"previous_names":["netzstrategen/twig-drupal"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/netzstrategen/fractal-twig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Ffractal-twig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Ffractal-twig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Ffractal-twig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Ffractal-twig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netzstrategen","download_url":"https://codeload.github.com/netzstrategen/fractal-twig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netzstrategen%2Ffractal-twig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266997181,"owners_count":24018934,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["drupal","fractal","pattern-library","twig","twig-adapter"],"created_at":"2024-09-24T13:45:14.005Z","updated_at":"2025-07-27T14:08:33.322Z","avatar_url":"https://github.com/netzstrategen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fractal Twig Drupal adapter\n\nThis fork allows you to use the namespaces from your `theme.info.yml` file from the `component-libraries` key in your Fractal instance.\n\n## Requirements \u0026 Usage\n\nUse with the [Fractal integration module for Drupal](https://github.com/netzstrategen/drupal-twig_fractal):\n\n```sh\ncomposer require netzstrategen/drupal-twig_fractal\n```\n\n## Setup\n\n```sh\nnpm install --save git+ssh://git@github.com/netzstrategen/fractal-twig.git\n```\n\nor add manually in your `package.json`:\n\n```json\n{\n  \"dependencies\": {\n    \"@netzstrategen/fractal-twig\": \"git+ssh://git@github.com/netzstrategen/fractal-twig.git\"\n  }\n}\n```\n\nin your `fractal.js`\n\n```js\nconst fractal = require('@frctl/fractal').create();\nconst twigAdapter = require('@netzstrategen/fractal-twig');\nfractal.components.engine(twigAdapter);\n```\n\n## Credits\nThis package is based on the work of https://github.com/WondrousLLC/twig-drupal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetzstrategen%2Ffractal-twig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetzstrategen%2Ffractal-twig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetzstrategen%2Ffractal-twig/lists"}