{"id":19844454,"url":"https://github.com/maiconpinto/cakephp-adminlte-theme","last_synced_at":"2025-05-16T07:02:52.543Z","repository":{"id":51480184,"uuid":"47422972","full_name":"maiconpinto/cakephp-adminlte-theme","owner":"maiconpinto","description":"CakePHP AdminLTE Theme","archived":false,"fork":false,"pushed_at":"2024-10-12T06:43:49.000Z","size":20207,"stargazers_count":177,"open_issues_count":21,"forks_count":111,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-13T21:34:06.655Z","etag":null,"topics":["adminlte","cakephp","cakephp-adminlte-theme","theme"],"latest_commit_sha":null,"homepage":"http://maiconpinto.github.io/cakephp-adminlte-theme/","language":"JavaScript","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/maiconpinto.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,"publiccode":null,"codemeta":null}},"created_at":"2015-12-04T18:54:12.000Z","updated_at":"2025-03-04T15:14:24.000Z","dependencies_parsed_at":"2024-11-21T03:47:23.266Z","dependency_job_id":null,"html_url":"https://github.com/maiconpinto/cakephp-adminlte-theme","commit_stats":{"total_commits":334,"total_committers":21,"mean_commits":"15.904761904761905","dds":"0.13772455089820357","last_synced_commit":"ab79502fa57693b06b534235d676dcce5620ca45"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiconpinto%2Fcakephp-adminlte-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiconpinto%2Fcakephp-adminlte-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiconpinto%2Fcakephp-adminlte-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiconpinto%2Fcakephp-adminlte-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maiconpinto","download_url":"https://codeload.github.com/maiconpinto/cakephp-adminlte-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485028,"owners_count":22078766,"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":["adminlte","cakephp","cakephp-adminlte-theme","theme"],"created_at":"2024-11-12T13:04:15.159Z","updated_at":"2025-05-16T07:02:47.622Z","avatar_url":"https://github.com/maiconpinto.png","language":"JavaScript","readme":"# CakePHP AdminLTE Theme (2.0.0)\n\n**What's the news**\n\nThe AdminLTE was updated version to 2.4.5.\n\nThe CakePHP was updated version compatible to 4.0.0.\n\nThis release 2.0.0 is can be considered the stable version, as indicated in the [SemVer.org](https://semver.org/) recommendations.\n\n### Installation\n\nYou can install using [composer](http://getcomposer.org).\n\n```\ncomposer require maiconpinto/cakephp-adminlte-theme\n```\n\n### Enable Plugin\n\n```php\n// src/Application.php\n\npublic function bootstrap()\n{\n    $this-\u003eaddPlugin('AdminLTE');\n}\n```\n\n### Enable Theme\n\n```php\n// src/Controller/AppController.php\nuse Cake\\Event\\EventInterface;\n\npublic function beforeRender(EventInterface  $event)\n{\n    $this-\u003eviewBuilder()-\u003esetTheme('AdminLTE');\n}\n```\n\n### Enable Form\n\n```php\n// src/View/AppView.php\n\npublic function initialize()\n{\n    $this-\u003eloadHelper('Form', ['className' =\u003e 'AdminLTE.Form']);\n}\n```\n\n### Configure\n\n```php\n// new config/adminlte.php file\n\nreturn [\n    'Theme' =\u003e [\n        'title' =\u003e 'AdminLTE',\n        'logo' =\u003e [\n            'mini' =\u003e '\u003cb\u003eA\u003c/b\u003eLT',\n            'large' =\u003e '\u003cb\u003eAdmin\u003c/b\u003eLTE'\n        ],\n        'login' =\u003e [\n            'show_remember' =\u003e true,\n            'show_register' =\u003e true,\n            'show_social' =\u003e true\n        ],\n        'folder' =\u003e ROOT,\n        'skin' =\u003e 'blue'\n    ]\n];\n\n// config/bootstrap.php\n\nConfigure::load('adminlte', 'default');\n```\n\n# Customize Layout\n\nIf you want to [Customize Layout](https://github.com/maiconpinto/cakephp-adminlte-theme/wiki/Customize-Layout)\n\n# What's the features\n\n### Layouts\n\nThere are 10 layout files.\n\n- boxed\n- collapsed\n- default **it's the main layout**\n- documentation\n- fixed\n- lockscreen\n- login\n- print\n- register\n- top\n\n### View Blocks\n\nThere are 3 Blocks where you can extend your theme.\n\n- **css**\n\n```php\n\u003c?php echo $this-\u003efetch('css'); ?\u003e\n```\n\nOne example is `src/Template/Pages/home.ctp`:\n\n```php\n\u003c?php echo $this-\u003eHtml-\u003ecss('AdminLTE./bower_components/morris.js/morris', ['block' =\u003e 'css']); ?\u003e\n```\n\n- **script**\n\n```php\n\u003c?php echo $this-\u003efetch('script'); ?\u003e\n```\n\nOne example is `src/Template/Pages/home.ctp`:\n\n```php\n\u003c?php echo $this-\u003eHtml-\u003escript('AdminLTE./bower_components/morris.js/morris.min', ['block' =\u003e 'script']); ?\u003e\n```\n\n- **scriptBottom**\n\n```php\n\u003c?php echo $this-\u003efetch('scriptBottom'); ?\u003e\n```\n\nOne example is `src/Template/Pages/home.ctp`:\n\n```php\n\u003c?php $this-\u003estart('scriptBottom'); ?\u003e\n    \u003cscript\u003e\n      $.widget.bridge('uibutton', $.ui.button);\n    \u003c/script\u003e\n\u003c?php  $this-\u003eend(); ?\u003e\n```\n\n### Elements\n\nThere are 7 element files.\n\n- Element/\n    - aside/\n        - form\n        - sidebar-menu\n        - user-panel\n    - aside-control-sidebar\n    - aside-main-sidebar\n    - footer\n    - nav-top\n\n### Flash Message\n\nThe theme is prepared to show Flash Messages.\n\n```php\n\u003c?php echo $this-\u003eFlash-\u003erender(); ?\u003e\n\u003c?php echo $this-\u003eFlash-\u003erender('auth'); ?\u003e\n```\n\n### Bake\n\nOne of the better Cake features. The theme is prepared to use Bake. \n\n```\nbin/cake bake all user --theme AdminLTE\n```\n\n### View\n\n- **AdminLTEView**\n\nThis is one the better theme feature. It change the pattern how Cake show view files.\n\nBasically, you overwrite any theme, plugin and prefix files.\n\n1. src/Template/Plugin/$theme/Plugin/$plugin/$prefix/\n2. src/Template/Plugin/$theme/Plugin/$plugin/\n3. src/Template/Plugin/$theme/$prefix/\n4. src/Template/Plugin/$theme/\n\n### FormHelper\n\nFormHelper by default has format template based on Foundation template. This helper overwrite these templates.\n\n### Behavior\n\n- **DatepickerBehavior**\n\nWhen you configure `App.defaultLocale` to `pt_BR` this Behavior is util.\n\n### Locale\n\nWhen you configure `App.defaultLocale` to `pt_BR` this Locale is util.\n\n### Page debug\n\nAdded link to default page of CakePHP.\n\n![Page debug](docs/page-debug.png)\n\n# Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaiconpinto%2Fcakephp-adminlte-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaiconpinto%2Fcakephp-adminlte-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaiconpinto%2Fcakephp-adminlte-theme/lists"}