{"id":15021924,"url":"https://github.com/radiofrance/cellulr-engine","last_synced_at":"2025-04-10T20:33:39.926Z","repository":{"id":62532589,"uuid":"103252050","full_name":"radiofrance/CellulR-engine","owner":"radiofrance","description":"Way to build web pages with isolated and autonomous cells","archived":false,"fork":false,"pushed_at":"2018-05-23T08:32:56.000Z","size":61,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-24T18:11:20.831Z","etag":null,"topics":["component","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radiofrance.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-09-12T09:42:07.000Z","updated_at":"2023-10-31T23:13:39.000Z","dependencies_parsed_at":"2022-11-02T15:00:49.076Z","dependency_job_id":null,"html_url":"https://github.com/radiofrance/CellulR-engine","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radiofrance%2FCellulR-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radiofrance%2FCellulR-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radiofrance%2FCellulR-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radiofrance%2FCellulR-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radiofrance","download_url":"https://codeload.github.com/radiofrance/CellulR-engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290044,"owners_count":21078923,"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":["component","php"],"created_at":"2024-09-24T19:57:13.579Z","updated_at":"2025-04-10T20:33:39.893Z","avatar_url":"https://github.com/radiofrance.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CellulR Engine\n============\n\nCellulR is an engine to build websites. Each page is composed from isolated and independent cells.\n\nThis project is production ready, and is used on [www.franceculture.fr](https://www.franceculture.f) .\n\nEach cell is isolated and autonomous. A cell is composed of (at least) one PHP Controller, JavaScript and CSS files.\n\nHow it works ?\n-----\n\n**1. Rendering**\n\n\nRender a cell 'VideoPlayer' in current page, with Twig :\n\n```twig\n{{ cell('VideoPlayer', {arg1: 'a value'}) }}\n```\n\nOr using Varnish ESI (with standalone route):\n\n```twig\n{{ cell('VideoPlayer', {arg1: 'a value'}, {strategy: 'esi'}) }}\n```\n\n**2. The cell**\n\n```php\n\u003c?php\n\nuse Rf\\CellulR\\EngineBundle\\CoreObject\\Response;\n\nclass VideoPlayer\n{\n    public function __invoke(Video $video) {\n        return new Response([\n            'video' =\u003e $video\n        ]); \n    }\n}\n```\n\n**3. Manifest file**\n\nThe `component.json` declares dependencies (with other cells) :\n\n```json\n{\n    \"name\": \"VideoPlayer\",\n    \"description\": \"Cell for video player\",\n    \"require\": {\n        \"Legend\": \"*\",\n        \"Image\": \"*\"\n    }\n}\n```\n\n**4. Assets (Javascript and Less)**\n\nLess files and JavaScript files are automatically included thanks to the [cellulR-builder](https://github.com/radiofrance/CellulR-builder) component.\n\n-----\n \nInstallation and documentation\n-------------\n\n[French only] [Documentation](./Resources/doc/README.md)\n\nDo not hesitate to [help us](https://github.com/radiofrance/CellulR-engine/pulls) to translate documentation in english :)\n\nLicence\n-------\n\nProject licensed under Cecill-B license. Please open the LICENSE file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradiofrance%2Fcellulr-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradiofrance%2Fcellulr-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradiofrance%2Fcellulr-engine/lists"}