{"id":21526068,"url":"https://github.com/nelson6e65/pretty_cake","last_synced_at":"2026-05-21T07:41:21.758Z","repository":{"id":26979227,"uuid":"30442876","full_name":"nelson6e65/pretty_cake","owner":"nelson6e65","description":"Pretty Cake: A Cake Bake Console Template for CakePHP","archived":false,"fork":false,"pushed_at":"2015-08-30T07:31:12.000Z","size":271,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T05:32:03.762Z","etag":null,"topics":["bootstrap","cakephp","cakephp2","font-awesome"],"latest_commit_sha":null,"homepage":"http://nelson6e65.github.io/pretty_cake","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"shadowfaxtech/proSwipeButton","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nelson6e65.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":"2015-02-07T02:53:13.000Z","updated_at":"2016-06-05T13:32:24.000Z","dependencies_parsed_at":"2022-07-09T09:00:35.458Z","dependency_job_id":null,"html_url":"https://github.com/nelson6e65/pretty_cake","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelson6e65%2Fpretty_cake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelson6e65%2Fpretty_cake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelson6e65%2Fpretty_cake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelson6e65%2Fpretty_cake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nelson6e65","download_url":"https://codeload.github.com/nelson6e65/pretty_cake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244085062,"owners_count":20395530,"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":["bootstrap","cakephp","cakephp2","font-awesome"],"created_at":"2024-11-24T01:42:01.007Z","updated_at":"2026-05-21T07:41:21.714Z","avatar_url":"https://github.com/nelson6e65.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pretty Cake [Alpha]: A Cake Bake Console Template for CakePHP\nA personal template theme for baking custom views, using Twitter Bootstrap to perform user interface.\n\n## Requirements \nThis template theme is for Cake Bake Utility of [CakePHP 2.x](http://cakephp.org/) (for now, only testing on 2.5.6).\n\n* Resources\n  * [Bootstrap 3.x](http://getbootstrap.com/) (for now, only testing on 3.3.2)\n  * [Font Awesome 4.x](http://fontawesome.io/) (for now, only testing on 4.2.0)\n\n**Note**: You should include those Cascading Style Sheets (\\*.css) and JavaScript (\\*.js) resources in your layout(s).\n\n## Installation\n### GIT submodule\n\u003e Use this option if you wanna get the up-to-date content.\n\nIn your **app** directory, type:\n\n    git submodule add https://github.com/nelson6e65/pretty_cake.git Console/Templates/pretty_cake\n    git submodule init\n    git submodule update\n\n#####Note:\nYou can use another name instead of `pretty_cake` :wink:. For example, if you wanna use just `bootstrap`, the run insted:\n\n    git submodule add https://github.com/nelson6e65/pretty_cake.git Console/Templates/bootstrap\n    git submodule init\n    git submodule update\n\n### Manual\n* Download lastest [zip](https://github.com/nelson6e65/pretty_cake/archive/master.zip) or [release](https://github.com/nelson6e65/pretty_cake/releases).\n* Decompress it. You will get a  folder.\n* Rename the resulting folder to `pretty_cake`.\n* Move it under your templates directory (`app/Console/Templates/{here}`).\n\n#####Note:\nYou can use another name instead of `pretty_cake`. For example, if you wanna use just `bootstrap`, then rename folder to `bootstrap`. :wink:\n\n## Usage\nOnce you installed, you are able to [bake](http://book.cakephp.org/2.0/en/console-and-shells/code-generation-with-bake.html) a Pretty Cake. :smiley:\n\nYou just need to pass `-t` (`--theme`) argument to `cake bake`:\n\n    $ cake bake [subcommand] [-h] [-v] [-q] [-c default] [-t]\n\nOn Windows, you can run:\n\n    $ cd path/to/cakephp/app\n    $ .\\Console\\cake bake -t \"pretty_cake\"\n\nIf you don't pass `--theme` argument (or you typed a wrong template name), bake will ask you (at end) which template to use:\n\n    ---------------------------------------------------------------\n    You have more than one set of templates installed.\n    Please choose the template set you wish to use:\n    ---------------------------------------------------------------\n    1. pretty_cake\n    2. default\n    Which bake theme would you like to use? (1/2)\n    [1] \u003e\n\nThen, choose `pretty_cake` (`1` in this example) and press Enter to continue. :satisfied:\n\n#####Note:\n*If you changed the default theme name* (`pretty_cake`), you must run `$ .\\Console\\cake bake -t \"{theme_name}\"`  command instead (or select `{theme_name}` when bake ask you), where `{theme_name}` means your personalized name :wink:.\n\nExample: For `bootstrap` theme name, you should run instead:\n\n    $ .\\Console\\cake bake -t \"bootstrap\"\n\n## Instructions FAQ\n\n**What means `path/to/cakephp/app`?**\n\u003e [See below].\n\n**What means `app directory`?**\n\u003e Is de root path of your application. That is, by default, the **app** subdirectory of your CakePHP installation directory.\n\u003e \nFor example, using wamp on Windows, *app directory* should be `C:\\wamp\\www\\cakephp\\app\\` (if you installed CakePHP in `C:\\wamp\\www\\cakephp\\`).\n\u003e For further info, check [CakePHP Folder Structure](http://book.cakephp.org/2.0/en/getting-started/cakephp-folder-structure.html#the-app-folder).\n\n**Where are located console themes?**\n\u003e Console themes are placed inside your `app / Console / Templates /` directory:\n\u003e \n`path/to/cakephp/app/Console/Templates/{here}`\n\u003e For further info, check [CakePHP Folder Structure](http://book.cakephp.org/2.0/en/getting-started/cakephp-folder-structure.html#the-app-folder).\n\n**Where should be located this theme?**\n\u003e As I said in install instructions, content of this theme *must* be located inside templates directory: `app / Console / Templates / {theme_name} /`.\nThe default `{theme_name}` is `pretty_cake`:\n\u003e\n`path/to/cakephp/app/Console/Templates/pretty_cake/`\n\n**What is Git submodule?**\n\u003e Is a Git tool to treat the two projects as separate yet still be able to use one from within the other. Check this page: http://git-scm.com/book/en/v2/Git-Tools-Submodules\n\n## TODO List\n### View actions\n- [x] Personalize 'index' view :cake:\n- [x] Personalize 'view' view :cake:\n- [x] Personalize 'add' view\n- [x] Personalize 'edit' view\n- [ ] Add 'delete' view (?)\n- [ ] Add 'find' view\n\n### Controller actions\n- [ ] Personalize 'delete' action\n- [ ] Add 'delete' action\n- [ ] Add 'find' action\n\n##Licence\nLicensed under The MIT License (MIT). Check [LICENSE](/LICENSE) for full copyright and license information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelson6e65%2Fpretty_cake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnelson6e65%2Fpretty_cake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelson6e65%2Fpretty_cake/lists"}