{"id":13684663,"url":"https://github.com/junichi11/cakephp3-netbeans","last_synced_at":"2025-04-14T23:36:42.128Z","repository":{"id":25368035,"uuid":"28796004","full_name":"junichi11/cakephp3-netbeans","owner":"junichi11","description":"CakePHP3/4 support in NetBeans","archived":false,"fork":false,"pushed_at":"2022-11-24T03:28:57.000Z","size":407,"stargazers_count":46,"open_issues_count":8,"forks_count":10,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-28T11:42:50.873Z","etag":null,"topics":["cakephp3","cakephp4","netbeans-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junichi11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"junichi11"}},"created_at":"2015-01-05T03:37:00.000Z","updated_at":"2023-04-30T10:31:04.000Z","dependencies_parsed_at":"2023-01-14T02:37:37.994Z","dependency_job_id":null,"html_url":"https://github.com/junichi11/cakephp3-netbeans","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junichi11%2Fcakephp3-netbeans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junichi11%2Fcakephp3-netbeans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junichi11%2Fcakephp3-netbeans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junichi11%2Fcakephp3-netbeans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junichi11","download_url":"https://codeload.github.com/junichi11/cakephp3-netbeans/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248980771,"owners_count":21193137,"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":["cakephp3","cakephp4","netbeans-plugin"],"created_at":"2024-08-02T14:00:36.451Z","updated_at":"2025-04-14T23:36:42.109Z","avatar_url":"https://github.com/junichi11.png","language":"Java","readme":"# NetBeans CakePHP3/4 Plugin\n\nThis plugin provides support for CakePHP3/4.\n\n## Requirements\n\n- NetBeans 12.0+\n\n## Downloads\n\n- https://github.com/junichi11/cakephp3-netbeans/releases\n- https://plugins.netbeans.apache.org/catalogue/?id=27\n\n## How To Install\n\n### Via NetBeans Plugin Portal Update Center\n\n- Tools \u003e Plugins \u003e Available Plugins\n- Click the \"Check for Newest\" button\n- Check \"CakePHP3/4 Framework\"\n- Click the \"Install\" button\n\n### Use downloaded nbms\n\n- Download a nbm (e.g. org-netbeans-modules-php-cake3-0.0.1-dev-201408251540.nbm)\n- Tools \u003e Plugins \u003e Downloaded \u003e Add Plugins\n- Select the nbm\n- Click Install\n\n## How To Update\n\nYou can update to the new version by the same way as the install. You don't have to uninstall the old version.\n\n## How To Enable\n\n- Open the project properties dialog (Right-Click your project \u003e properties)\n- Frameworks \u003e CakePHP3/4 \u003e Check `Enabled`\n\n## Use Your Custom Directory Structure\n\nIf you just installed Cake3/4 via Composer, you don't have to do anything.\n\n- Open the project properties\n- Set relative paths from your Source Directory to Path settings\n\n#### Root\n\nUse when your CakePHP app directory exists in your php project as a subdirectory.\n\ne.g. set `app` to Root setting like the following case:\n```\nsource directory\n    ├── foo\n    ├── bar\n    └── app\n            ├── README.md\n            ├── bin\n            ├── composer.json\n            ├── composer.lock\n            ├── config\n            ├── index.php\n            ├── logs\n            ├── phpunit.xml.dist\n            ├── plugins\n            ├── src\n            ├── tests\n            ├── tmp\n            ├── vendor\n            └── webroot\n```\n\n#### The Others\n\nThe same as App settings of config/app.php\n\n#### Templates, plugins, locales, e.t.c.\n\nSupport them using `.cake` file.\n\n## Features\n\n- Code completion\n- Smart Go To\n- Run Actions (Run Command)\n- Template files(Controller, Table, Helper, e.t.c.)\n- Support for a `.cake` file\n- Resolve mime-types for a ctp extension and a `.cake` file\n- Show a parent directory name of a ctp file in the multi-row tabs(see Tools \u003e Options \u003e Appearance \u003e Document Tabs) e.g. `home.ctp [Pages]`\n- Custom nodes\n\n### Code Completion\n\n**Component**\n```php\n// in your Controller e.g. SomeController or AppController\npublic $components = ['Foo', 'My.Bar', 'Bar' =\u003e ['className' =\u003e 'MyBar'] ];\n\npublic initialize() {\n    $this-\u003eloadComponent('Foo');\n    $this-\u003elaodComponent('Bar', ['className' =\u003e 'MyBar']);\n}\n\n// in your Controller\n$this-\u003e[Ctrl+Space]\n```\n\n**Helper**\n```php\n// in your Controller e.g. SomeController or AppController\npublic $helpers = ['Foo', 'My.Bar', 'Bar' =\u003e ['className' =\u003e 'MyBar'] ];\n\n// in your template file e.g. index.ctp\n$this-\u003e[Ctrl+Space]\n```\n\n**Table**\n```php\n// in your Controller e.g. SomeController \n$this-\u003eloadModel('Users');\n\n// in your Controller\n$this-\u003e[Ctrl+Space]\n```\n\nPlease add `@property` to your table class if you want to use like the following:\n\n```php\n// e.g. BookmarksTable\n/**\n * @property \\App\\Model\\Table\\TagsTable $Tags \n */\nclass BookmarksTable extends Table {\n}\n\n$this-\u003eBookmarks-\u003eTags-\u003e[Ctrl+Space]\n```\n\n**Method Parameters**\n```php\n// e.g. path/to/your/template/index.ctp\n// file path completion\n$this-\u003eHtml-\u003ecss('[Ctrl+Space]');\n\n// constants\n$this-\u003eHtml-\u003edocType('[Ctrl+Space]');\n```\n\n**NOTE**\nPlease add a semicolon(\u003ckbd\u003e;\u003c/kbd\u003e) if you want to use code completions for parameters. Tips: You can add it like the following: \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003e;\u003c/kbd\u003e\n\n### Smart Go To\n\nThis feature is not enabled by default. If you want to use it, please set the KeyMap to it.\n(Tools \u003e Options \u003e Keymap \u003e Search `CakePHP` \u003e CakePHP3/4: Smart Go To \u003e e.g. set \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eJ\u003c/kbd\u003e) \n\nFiles related to the current editor are shown when you run this action.\ne.g. If your current file is a Controller, template, table, entity, testcase, conponent and helper file(s) will be shown.\n\nYou can change a list to specific category's one like the following.\n(\u003ckbd\u003eCtrl\u003c/kbd\u003e is a Ctrl or Command key)\n\n- Controller(All) : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eC\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eC\u003c/kbd\u003e)\n- Component : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eP\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eP\u003c/kbd\u003e)\n- Table : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eM\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eM\u003c/kbd\u003e)\n- Entity : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eE\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eE\u003c/kbd\u003e)\n- Behavior : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eB\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eB\u003c/kbd\u003e)\n- Templates : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eV\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eV\u003c/kbd\u003e)\n- View Cell : \u003ckbd\u003eCtrl\u003c/kbd\u003e + L (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eL\u003c/kbd\u003e)\n- Helper : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eH\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eH\u003c/kbd\u003e)\n- Fixture : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eF\u003c/kbd\u003e (\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eF\u003c/kbd\u003e)\n- TestCase : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eT\u003c/kbd\u003e\n- Config : \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e or \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e\n\n**NOTE** Core files are not shown (e.g. HtmlHelper, AuthComponent, e.t.c.)\n\n### Support for a .cake file\n\nYou can use the [.cake](https://github.com/dotcake/dotcake) if you want to use the specified directories for Controller, Table, Template, e.t.c..\nThe file format is the following:\n```json\n{\n    \"cake\": \".\\/vendor\\/cakephp\\/cakephp\",\n    \"build_path\": {\n        \"entities\": [\n            \".\\/src\\/Model\\/Entity\\/\"\n        ],\n        \"tables\": [\n            \".\\/src\\/Model\\/Table\\/\"\n        ],\n        \"behaviors\": [\n            \".\\/src\\/Model\\/Behavior\\/\"\n        ],\n        \"controllers\": [\n            \".\\/src\\/Controller\\/\"\n        ],\n        \"components\": [\n            \".\\/src\\/Controller\\/Component\\/\"\n        ],\n        \"templates\": [\n            \".\\/src\\/Template\\/\"\n        ],\n        \"views\": [\n            \".\\/src\\/View\\/\"\n        ],\n        \"helpers\": [\n            \".\\/src\\/View\\/Helper\\/\"\n        ],\n        \"consoles\": [\n            \".\\/src\\/Console\\/\"\n        ],\n        \"shells\": [\n            \".\\/src\\/Shell\\/\"\n        ],\n        \"tasks\": [\n            \".\\/src\\/Shell\\/Task\\/\"\n        ],\n        \"locales\": [\n            \".\\/src\\/Locale\\/\"\n        ],\n        \"vendors\": [\n            \".\\/vendor\\/\"\n        ],\n        \"plugins\": [\n            \".\\/plugins\\/\"\n        ]\n    }\n}\n```\n\n**NOTE** It is not available in any categories.\n\n### Custom nodes\n\nYou can add some directories(nodes) under the your project tree. Controller, Model, e.t.c. are shown by default.\nIf you want to hide/show them, please change the options.(Tools \u003e Options \u003e PHP \u003e Frameworks and Tools \u003e CakePHP3/4 \u003e Custom nodes)\n\n## Actions\n\nRight-click a project \u003e CakePHP3/4\n\n- Run Command\n- Run server\n- Refresh\n\n### Run Command\n\nAll commands will be shown as a list in the command dialog. Then you can run a command with some parameters.\n\n### Run server\n\nJust run `cake server`. If you want to set details, please use `Run Configuration` of project properties.\n\n### Refresh\n\nPlease run this action after you changed the `.cake` file or you updated the version of CakePHP.\nRefresh the version number and category paths.\n\n## Donation\n\n- https://github.com/sponsors/junichi11\n\n## Issues\n\nIf you have issues, please submit them to [GitHub Issues](https://github.com/junichi11/cakephp3-netbeans/issues) .\nPlease don't create PRs soon.\n\n## License\n\nApache License, Version 2.0\n","funding_links":["https://github.com/sponsors/junichi11"],"categories":["Development Environment"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunichi11%2Fcakephp3-netbeans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunichi11%2Fcakephp3-netbeans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunichi11%2Fcakephp3-netbeans/lists"}