{"id":14966592,"url":"https://github.com/nvlad/yii2support","last_synced_at":"2025-04-07T07:07:41.433Z","repository":{"id":45614893,"uuid":"78363765","full_name":"nvlad/yii2support","owner":"nvlad","description":"Yii2 Support for PhpStorm / IntelliJ IDEA","archived":false,"fork":false,"pushed_at":"2021-12-04T22:39:46.000Z","size":2263,"stargazers_count":292,"open_issues_count":72,"forks_count":54,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-30T11:02:28.245Z","etag":null,"topics":["intellij","intellij-plugin","phpstorm","phpstorm-plugin","plugin","yii2"],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/idea/plugin/9388-yii2-support","language":"Java","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/nvlad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-08T18:57:31.000Z","updated_at":"2025-03-18T07:55:49.000Z","dependencies_parsed_at":"2022-09-24T14:50:35.060Z","dependency_job_id":null,"html_url":"https://github.com/nvlad/yii2support","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvlad%2Fyii2support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvlad%2Fyii2support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvlad%2Fyii2support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvlad%2Fyii2support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nvlad","download_url":"https://codeload.github.com/nvlad/yii2support/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608151,"owners_count":20965952,"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":["intellij","intellij-plugin","phpstorm","phpstorm-plugin","plugin","yii2"],"created_at":"2024-09-24T13:36:39.280Z","updated_at":"2025-04-07T07:07:41.402Z","avatar_url":"https://github.com/nvlad.png","language":"Java","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=MVG9CP6NZV856"],"categories":[],"sub_categories":[],"readme":"IntelliJ IDEA / PhpStorm Yii2 Support\n=====================================\n\n[![Latest Stable Version](http://phpstorm.espend.de/badge/9388/version)](https://plugins.jetbrains.com/plugin/9388)\n[![Total Downloads](http://phpstorm.espend.de/badge/9388/downloads)](https://plugins.jetbrains.com/plugin/9388)\n[![Downloads Last Month](http://phpstorm.espend.de/badge/9388/last-month)](https://plugins.jetbrains.com/plugin/9388)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://plugins.jetbrains.com/idea/plugin/9388-yii2-support\" target=\"_blank\"\u003e\n        \u003cimg src=\"img/logo.png?raw=true\" width=\"518\" alt=\"IntelliJ IDEA / PhpStorm Yii2 Support\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\nProvides [Yii 2 Framework](http://www.yiiframework.com/) support for [PhpStorm](https://www.jetbrains.com/phpstorm/)\nand [IntelliJ IDEA](https://www.jetbrains.com/idea/).  \n\nDonate\n------\n\nPlease make donations to support plugin development.  \n[![paypal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=MVG9CP6NZV856) [![yandex.money](https://img.shields.io/badge/Donate-Yandex.Money-yellow.svg)](https://money.yandex.ru/to/41001209655503)  \nBitcoin: 36TYn22Ch48FsBriJkGmD52Ge8Dqf7Gjkb  \n\n\nFeatures\n--------\n\n### Views\n- View template names and parameters completion\n- Add view parameters after completion\n- Inspection for missing view templates\n- QuickFix for missing view templates\n- Jump to View file (go to declaration)\n- Inspection for required and unused template parameters\n- QuickFix for required and unused template parameters\n- Updates path to view template when file is moved\n\n### i18n\n- Code completion\n- Generate params array\n\n### Configuration arrays\nCode completion for Yii configuration arrays. Works both in configuration files and on object instantiation.\nFollowing cases are supported:\n\n- Array in `$config` parameter in `yii\\base\\Object` or its descendants constructor\n- Array has a `class` key with valid class representation: fully qualified name as string, `ClassName::class` or `Class::className()`\n- Array is a value of a key that corresponds to standard Yii classes (like `db`, `request`, `mailer`, and so on), and\n  a file with this array is located within `config` directory\n- `WidgetClass::widget()` and `WidgetClass::begin` calls in case `WidgetClass` is a descendant of `yii\\base\\Widget`\n- `$field-\u003ewidget()` method call on `yii\\widgets\\ActiveField` and its descendants\n- Inside array in `GridView`, `columns` key\n- `Yii::createObject` method\n\nGo To Declaration, Rename, Find usages and Help popups work whenever code completion works.\n\n### Database support\n**Database connection is required**\n\n#### Table Prefix support\nUse plugin settings window to set up table prefix\n\n#### ActiveQuery\n- Code completion for `ActiveQuery` (`ActiveRecord::find()-\u003ewhere` for example)  \n- Code completion inside `ActiveQuery` linked to ActiveRecord  \n- Inspection in case if `ActiveQuery` not linked to `ActiveRecord`\n\n#### ActiveRecord\n- Code completion for `ActiveRecord` `findAll()`, `findOne()` and so on methods  \n- Undetectable `ActiveRecord` table inspection  \n- Code completion in relations methods  \n\n#### Migrations\n- Code completion for migrations  \n\n#### Condition parameters\n- Condition parameters code completion  \n- Condition parameters inspection  \n\n#### Properties\n- Synchronize properties with database  \n- Unused properties inspection\n  \n### Form support\n- Complete model attribute for `$form-\u003efield($model, ...)` \u0026 `Html::active*($model, ...)` methods\n\n### Validators support\n- Autocomplete for arrays in model's rules() method\n\n### Type resolution\n- Yii::createMethod()\n- one() and all() methods of ActiveQuery\n\n### Migration tool\n- Migrations UI Navigator\n- Apply/Undo/Redo migrations from UI\n- Support Remote CLI for Docker, Vagrant, VM, Remote servers\n- Sync IDE DataBase schema after Apply/Undo/Redo migration(s)\n- View command execution output\n\n## Inspections\nInspections can be disabled inline `/** @noinspection MissedViewInspection */`.\n\n### Views\n- `MissedViewInspection`  \nReports missing view templates\n- `RequireParameterInspection`  \nAnalyzes SQL condition and checks if all declared parameters are set\n- `UnusedParameterInspection`  \nDetecting unused View parameters\n- `ViewMissedPhpDocInspection`  \nInspect PhpDoc for incoming parameters\n\n### Object Factory\n- `ObjectFactoryMissedFieldInspection`  \nReports missing object properties\n\n### Database\n- `MissedParamInspection`  \nAnalyzes SQL condition and checks if all declared parameters are set\n-  `PropertiesInspection`  \nDetects properties do not correspond to class fields or table columns in case of ActiveRecord\n- `UndetectableTableInspection`  \nFinds ActiveRecord table and check if it exists in database connections\n- `MissingActiveRecordInActiveQueryInspection`  \nCheck if ActiveQuery correctly linked to ActiveRecord\n\nInstallation\n------------\n- Open your PhpStorm or IntelliJ IDEA IDE.\n- Go to `File` → `Settings`.\n- Choose `Plugins`.\n- Press `Browse repositories...` button.\n- Type `yii2 support`.\n- Press `Install` green button on the very top of description.\n\nContributing\n------------\nThe plugin is [Open Source](LICENSE.md). You may contribute either by testing and [reporting issues](https://github.com/nvlad/yii2support/issues)\nor by sending pull requests. \n\n### Spreading the Word\nAcknowledging and or citing the plugin is as important as direct contributions.\n\nIf you are giving a presentation or talk we suggest using\n[our logo](https://github.com/nvlad/yii2support/raw/master/img/logo.png?raw=true).\n\n[Project Changelog](CHANGELOG.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvlad%2Fyii2support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvlad%2Fyii2support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvlad%2Fyii2support/lists"}