{"id":21638770,"url":"https://github.com/novactive/novaezstatictemplatesbundle","last_synced_at":"2025-04-11T16:51:11.558Z","repository":{"id":47701455,"uuid":"135575428","full_name":"Novactive/NovaeZStaticTemplatesBundle","owner":"Novactive","description":"Access Twig template thanks to an auto-injected SiteAccess to simplify Front-End Development","archived":false,"fork":false,"pushed_at":"2024-05-16T10:58:28.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-25T12:53:33.569Z","etag":null,"topics":["ezplatform","siteaccess","theme","twig"],"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/Novactive.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-05-31T11:36:23.000Z","updated_at":"2022-09-03T16:48:08.000Z","dependencies_parsed_at":"2024-03-28T14:39:34.773Z","dependency_job_id":"89e49b23-0044-4075-8fc3-6b622a10dfef","html_url":"https://github.com/Novactive/NovaeZStaticTemplatesBundle","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"6ef63fb6f5755e96c44dfb17bc3e4ca4b02d1a4c"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaeZStaticTemplatesBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaeZStaticTemplatesBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaeZStaticTemplatesBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaeZStaticTemplatesBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Novactive","download_url":"https://codeload.github.com/Novactive/NovaeZStaticTemplatesBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248442980,"owners_count":21104311,"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":["ezplatform","siteaccess","theme","twig"],"created_at":"2024-11-25T04:11:36.482Z","updated_at":"2025-04-11T16:51:11.530Z","avatar_url":"https://github.com/Novactive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Novactive eZ Static Templates bundle\n\n----\n\nThis repository is what we call a \"subtree split\": a read-only copy of one directory of the main repository. \nIt is used by Composer to allow developers to depend on specific bundles.\n\nIf you want to report or contribute, you should instead open your issue on the main repository: https://github.com/Novactive/Nova-eZPlatform-Bundles\n\nDocumentation is available in this repository via `.md` files but also packaged here: https://novactive.github.io/Nova-eZPlatform-Bundles/master/StaticTemplatesBundle/README.md.html\n\n----\n\n[![Downloads](https://img.shields.io/packagist/dt/novactive/ezstatictemplatesbundle.svg?style=flat-square)](https://packagist.org/packages/novactive/ezstatictemplatesbundle)\n[![Latest version](https://img.shields.io/github/release/Novactive/NovaeZStaticTemplatesBundle.svg?style=flat-square)](https://github.com/Novactive/NovaeZStaticTemplatesBundle/releases)\n[![License](https://img.shields.io/packagist/l/novactive/ezseobundle.svg?style=flat-square)](LICENSE)\n\nNovactive eZ Static Templates bundle is an eZ Platform bundle providing an ultra easy way to access twig templates from an url.\n\nIt uses the [siteaccess](https://doc.ezplatform.com/en/latest/guide/siteaccess/) and the [design engine](https://doc.ezplatform.com/en/latest/guide/design_engine/) provided by eZ Platform.\n\n## Features\n\nWhen you access a siteaccess in the siteaccess group `static_group`, it will take the url and show the twig template having the corresponding path.\n\nYou can configure as many siteaccess as you want, and using the design engine you can configure a different theme for each siteaccess.\n\nAs we are using the siteaccess feature, u can also use the [permissions](https://doc.ezplatform.com/en/latest/guide/permissions/) to control the access.\n\n### Example\n\nConsidering a theme `static_test`, a siteaccess `static-test` is automatically generated. The siteaccess is then matched by URI, the url `http://localhost/static-test/news/details` will show the template in `themes\\static_test\\news\\details.html.twig`\n\nThat's it!\n\n## Installation\n\n### Get the bundle\n\nAdd the lib to your composer.json, run `composer require novactive/ezstatictemplatesbundle` to refresh dependencies.\n\nThen inject the bundle in the `bundles.php` of your application.\n\n```php\n    Novactive\\Bundle\\EzStaticTemplatesBundle\\EzStaticTemplatesBundle::class =\u003e [ 'all'=\u003e true ],\n```\n\n### Configuration\n\nNone!\n\nThe siteaccess configuration is autogenerated based on existing themes whose name start with \"static_\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovactive%2Fnovaezstatictemplatesbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovactive%2Fnovaezstatictemplatesbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovactive%2Fnovaezstatictemplatesbundle/lists"}