{"id":20730661,"url":"https://github.com/nimblemvc/twig","last_synced_at":"2025-06-22T21:36:57.536Z","repository":{"id":234772825,"uuid":"789439764","full_name":"NimbleMVC/Twig","owner":"NimbleMVC","description":"Twig for NimblePHP","archived":false,"fork":false,"pushed_at":"2025-06-15T10:33:28.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-15T11:28:48.415Z","etag":null,"topics":["composer","nimblephp","php8","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/NimbleMVC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2024-04-20T14:56:49.000Z","updated_at":"2025-06-15T10:26:28.000Z","dependencies_parsed_at":"2024-04-20T18:49:48.739Z","dependency_job_id":"9bdf6fef-6800-4429-8794-e320efeb31c2","html_url":"https://github.com/NimbleMVC/Twig","commit_stats":null,"previous_names":["nimblemvc/twig"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/NimbleMVC/Twig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleMVC%2FTwig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleMVC%2FTwig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleMVC%2FTwig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleMVC%2FTwig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NimbleMVC","download_url":"https://codeload.github.com/NimbleMVC/Twig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleMVC%2FTwig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261373566,"owners_count":23148917,"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":["composer","nimblephp","php8","twig"],"created_at":"2024-11-17T05:12:20.674Z","updated_at":"2025-06-22T21:36:52.521Z","avatar_url":"https://github.com/NimbleMVC.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003ch1 align=\"center\"\u003eNimblePHP - Twig\u003c/h1\u003e\nTen pakiet dla frameworka NimblePHP rozszerza jego możliwości o obsługę widoków za pomocą silnika szablonów Twig. Dzięki\nintegracji z Twig, możesz łatwo tworzyć elastyczne i czytelne szablony, które uczynią Twój projekt bardziej modułowym i\nłatwiejszym w utrzymaniu. Idealne rozwiązanie dla developerów szukających efektywnego narzędzia do zarządzania prezentacją\ndanych w aplikacjach PHP.\n\n**Dokumentacja** projektu dostępna jest pod linkiem:\nhttps://nimblemvc.github.io/documentation/extension/twig/start/#\n\n## Instalacja\n```shell\ncomposer require nimblephp/twig\n```\n\n## Użycie\n1. Tworzymi plik w folderze `View` o rozszerzeniu `.twig` np. `test.twig`\n2. W metodzie kontrolera dajemy:\n```php\n$view = new View(new Twig());\n$view-\u003erender('test');\n```\n\n## Konfiguracja\n- **TWIG_CACHE** (false) - czy twig ma tworzyć cache\n\n## Współtworzenie\nZachęcamy do współtworzenia! Masz sugestie, znalazłeś błędy, chcesz pomóc w rozwoju? Otwórz issue lub prześlij pull request.\n\n## Pomoc\nWszelkie problemy oraz pytania należy zadawać przez zakładkę discussions w github pod linkiem:\nhttps://github.com/NimbleMVC/Twig/discussions","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblemvc%2Ftwig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimblemvc%2Ftwig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblemvc%2Ftwig/lists"}