{"id":21068933,"url":"https://github.com/brandcom/cakephp-admin-theme","last_synced_at":"2025-03-14T02:23:43.129Z","repository":{"id":56997219,"uuid":"321590800","full_name":"brandcom/cakephp-admin-theme","owner":"brandcom","description":"Minimalistic Admin Theme for CakePHP","archived":false,"fork":false,"pushed_at":"2024-03-11T14:19:44.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"4.x","last_synced_at":"2025-02-22T21:35:24.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/brandcom.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2020-12-15T07:45:15.000Z","updated_at":"2022-04-14T12:22:08.000Z","dependencies_parsed_at":"2024-11-19T18:40:46.231Z","dependency_job_id":"b7292fb1-58af-47a2-9cf9-21d967715d0f","html_url":"https://github.com/brandcom/cakephp-admin-theme","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"598ed1b78693e725db6608bb40768e248fc591db"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fcakephp-admin-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fcakephp-admin-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fcakephp-admin-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fcakephp-admin-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandcom","download_url":"https://codeload.github.com/brandcom/cakephp-admin-theme/tar.gz/refs/heads/4.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510056,"owners_count":20302296,"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":[],"created_at":"2024-11-19T18:29:30.867Z","updated_at":"2025-03-14T02:23:43.077Z","avatar_url":"https://github.com/brandcom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CakePHP Admin Theme\n\n## Installation\n\n```sh\ncomposer require jbennecker/cakephp-admin-theme\n```\n\n```sh\nbin/cake plugin load AdminTheme\n```\n\nCreate `config/admin_theme.php`\n\n```php\n\u003c?php\n\nreturn [\n    'AdminTheme.title' =\u003e '',\n    'AdminTheme.controllers' =\u003e [\n        [],\n    ],\n];\n```\n\nSet theme e.g in AppController::beforeRender()\n\n```php\nif ($this-\u003egetRequest()-\u003egetParam('prefix') === 'Admin') {\n    $this-\u003eviewBuilder()-\u003esetTheme('AdminTheme');\n}\n```\n\n## ViewBlocks\n\nThere are two ViewBlocks\n\n```\n\u003c?= $this-\u003efetch('css'); ?\u003e\n```\n\n```\n\u003c?= $this-\u003efetch('script') ?\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandcom%2Fcakephp-admin-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandcom%2Fcakephp-admin-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandcom%2Fcakephp-admin-theme/lists"}