magento/magento2-phpstorm-plugin là dự án Java với 463 sao trong nhóm Backend. PHPStorm Plugin for Magento 2
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
PhpStorm IDE Plugin for a better Magento 2 development workflow.
Support the Project
If you find this plugin helpful and want to support its development, consider buying the contributors a coffee:
( (
) )
........
| |]
\ /
`----'
Buy Me a Coffee
Sponsors
Thank you to our sponsors for supporting the plugin:
Lucas van Staden
Ivan Chepurnyi
Michael Ryvlin
Features
Configuration smart completion and references for XML/JavaScript files
Navigate to configuration reference in scope of class/interface
Go to plugin reference in scope of class/interface and method
Navigate to Web API configuration reference in scope of class/interface and method
Plugin class methods generation
Plugin declaration inspection
Magento-specific MCP tools for AI agents
RequireJS reference navigation and completion
MFTF reference navigation and completion
GraphQL navigation line markers
Code generation
Inspections for XML configuration
Installation
Go to Settings > Preferences in the PhpStorm IDE
Navigate to Plugins
Click the Browse repositories... button and search for "Magento 2 and Adobe Commerce"
Install the plugin and restart PhpStorm
Go to Settings > Preferences > Languages & Frameworks > PHP > Frameworks > Magento in the PhpStorm IDE
Check Enable and click the OK button
Works with
PhpStorm 2026+
MCP tools
The plugin exposes a Magento-specific MCP toolset for AI agents inside JetBrains IDEs with MCP support enabled.
Available project and creation tools:
get_magento_root_path: returns the resolved Magento root directory for the current IDE project. Use this when an agent or shell command needs an absolute project path.
magento_scaffold: a three-step Magento scaffold library and renderer designed to keep agent context small. First call it with mode=help to get only scaffold names and short descriptions. Then call it with mode=detailed_schema and one scaffoldType to load detailed parameters, defaults, constraints, and example JSON only for that scaffold. Finally call it with mode=render, the selected scaffoldType, and parametersJson as a JSON object to create files. Supported scaffold types are module, plugin, observer, entity_crud, controller, cli_command, block, view_model, product_eav_attribute, category_eav_attribute, and customer_eav_attribute.
Available query and inspection tools:
magento_inspect: a three-step Magento inspection library designed to keep agent context small. First call it with mode=help to get only query names and short descriptions. Then call it with mode=detailed_schema and one queryType to load detailed parameters and example JSON only for that inspection. Finally call it with mode=query, the selected queryType, and parametersJson as a JSON object to inspect the project. Supported query types are module, di_config, plugins_for_method, observers_for_event, layout_entities, ui_component, and acl_or_menu.
describe_magento_cli_environment: detects project-local CLI wrappers such as Mark Shust Docker scripts under project-level or Magento-root bin/, returns the exact command paths an agent should use, and includes example invocations for Magento CLI, PHP, Composer, n98-magerun, and stack lifecycle commands such as ./bin/start.
Notes:
The IDE MCP server must be enabled in the JetBrains IDE.
Only one JetBrains IDE instance should have the MCP server enabled at a time so the configured MCP port stays free; if another IDE is already using that port, the MCP server will not start correctly.
The IDE MCP server entry must be added to the agent MCP configuration.
MCP tools work against the currently opened IDE project.
Magento plugin support must be enabled for the project.
Indexing must be finished before MCP queries and generators can run.
Category EAV attribute generation creates both the data patch and view/adminhtml/ui_component/category_form.xml.
describe_magento_cli_environment detects project-local wrappers such as Mark Shust Docker scripts under project-level or Magento-root bin/ and returns the exact command paths an agent should use, including stack lifecycle wrappers such as bin/start, bin/stop, and bin/restart.
MCP CLI wrapper configuration
If your Magento project uses local wrapper scripts such as Mark Shust Docker commands, configure them in:
In the Gradle tool window, run Tasks > Intellij platform > runIde.
The task launches a PhpStorm sandbox with the plugin installed. Make sure the plugin is enabled and indexing is finished before testing features.
How to contribute
Start with looking into Community Backlog. Any ticket in Ready for Development and Good First Issue columns are a good candidates to start.
Didn't satisfy your requirements? Create a new issue. It can be for example:
Bug report - Found a bug in the code? Let us know!
Enhancement - Know how to improve existing functionality? Open an issue describe how to enhance the plugin.
New feature proposal - Know how to make a killer feature? Do not hesitate to submit your proposal.
The issue will appear in the Ready for Grooming column of the Community Backlog. Once it will be discussed and approved the issue will be ready for development.
Refer to the Contributing Guide for more information on how to contribute.
Learn to contribute
SDK Developing a Plugin
Good Presentation about platform How We Built Comma, the Raku IDE, on the IntelliJ Platform
Plugin example idea-php-symfony2-plugin
How to create SandBox for development
Create sandbox folder
Copy to sandbox folder composer.json and composer.lock
In sandbox folder create app/code and vendor/magento
Copy any of the magento modules (as for example: framework, module-catalog, module-checkout, module-customer, module-sales) into the vendor/magento folder. It is better to add as few modules as possible to reduce reindexing time during application running
(Nice to have) Open IDE and go to Preferences > Editor > File and Code Templates > Includes tab and add default headers for PHP File Header and XML File Header
magento/magento2-phpstorm-plugin thuộc nhóm Backend trên TopGit, cùng 12 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về magento/magento2-phpstorm-plugin ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/magento/magento2-phpstorm-plugin là nguồn chính thức.
magento/magento2-phpstorm-plugin có bao nhiêu sao?
magento/magento2-phpstorm-plugin có 463 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/magento/magento2-phpstorm-plugin. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
magento/magento2-phpstorm-plugin có những chủ đề gì?
magento/magento2-phpstorm-plugin còn đang phát triển không?
Commit gần nhất trên magento/magento2-phpstorm-plugin là 13 ngày trước (theo timestamp GitHub). Repo có 99 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
magento/magento2-phpstorm-plugin viết bằng ngôn ngữ gì?
magento/magento2-phpstorm-plugin chủ yếu viết bằng Java. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Vì sao magento/magento2-phpstorm-plugin được xếp vào nhóm Backend?
TopGit xếp magento/magento2-phpstorm-plugin vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "hacktoberfest", "intellij", "intellij-plugin"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc magento2-phpstorm-plugin có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về magento2-phpstorm-plugin.