This extension will ease life of the Magento 2 developer by automating some repeating tasks.
Magicento is a PHPStorm plugin for Magento developers.
Magento Open Source delivers features to build and grow a unique online store from the ground up. However, if you need an all-in-one cloud solution that is optimized, easy to deploy, provides enhanced security, and is packed with additional integrated capabilities to accelerate sales; consider Magento. Magento: Magicento 2.9 in PHPStorm 2016.1.2 causes an error (Ubuntu 14.04)Helpful? Please support me on Patreon: t.
Features
- When you create new file (for example di.xml), extension provides handy default content for it. Works for some xml file, blocks, models, controllers, setup scripts, etc.
- Creating new extension using
MagentoWizard: Create a new extension
command:
- When editing class file you can inject new dependency by pressing
F1
and usingMagentoWizard: Inject Dependency
command.Start typingVendorExtensionName
to get list of classes from that extension.
- You can easily add observer for any event using
MagentoWizard: Add Observer
command, MagentoWizard even knows what data is passed to observers for some popular events. - Use
MagentoWizard: Add CRUD Model/ResourceModel/Collection
to create all classes needed to access Model data in DB. - Ability to run all bin/magento commands using VSC Run Task command (Task provider can be disabled in the settings).
- Generation of XML Catalog file for Magento 2 XML DTD files. Run
MagentoWizard: Generate XML Catalog
command and extension will create XML Catalog file in the correct format. It will be added to the XML extension config if that extension is installed. Go to Definition
function for class names and template names in XML Layouts.- Autocompletion of the class and template names in XML layouts and configurations. More autocompletions would be added soon, stay tuned.
Planned features
- [x] Extension creation
- [x] Populating created *.php, *.xml, *.js files by template contents based on their name and location
- [x] Injecting dependencies
- [x] Better placement of the assignments
- [x] Autocomple classes/interfaces from the current extension
- [x] Autocomple classes/interfaces from 'vendor'
- [x] Adding Observer
- [x] Adding Plugin
- [ ] Adding Route, Controller, Block, Layout, Template
- [ ] Adding custom attribute to products, categories, orders, customers, etc.
- [x] Add Magento tasks like setup:upgrade, cache:clean to VSC tasks
- [ ] Watch for changes in *.xml, *.phtml, *.php and clear corresponding cache type (like magento-cache-clean extension)
- [x] Go to definition function for class and template referrences in *.xml files
- [ ] More templates
Contributions
This project is open for all kinds of contributions - new templates, new ideas, bug reports, new features, etc.If you found bug or want to request a new feature - just create new issue on github. If you want to add new feature yourself -fork this repo and create pull request.
Release Notes
2.4.0
Autocompletion of the block names in XML layouts.
2.3.0
Autocompletion of the class and template names in XML layouts and configurations.
2.2.0
Added command to reindex workspace (ignoring cached data)
2.1.0
Added templates for CRUD Model, ResourceModel, Collection. New command to create those classes automatically.
2.0.0
Big update of the inner design of extension. Now MagentoWizard indexes all extentions, themes, libraries in the workspace after the launchand keeps index up to date by watching changes in the files. That allows to support autodetection of the Magento root in the workspace, alsoMagento Wizard now better supports many Magento roots in different workspace folders, also you can override location of the Magento root in settings.Also support for Go to Defintion
function for class names and templates in XML layout files was added.
1.3.2
Added option to select the existing XML file to convert when using the 'Generate Catalog' command.
1.3.0
Added MagentoWizard: Generate XML Catalog
command
1.2.2
Fixed bug in Plugin template.Added Task Provider for bin/magento commands
1.2.0
Add Plugin command, easily add plugin (interceptor) for any public method.
1.1.4
Added support for extensions in /vendor. Added classes from current extension (including from /vendor) to list inInject Dependency command, removed duplicates from the list. Added caching of extension file data.Improved Observer class name and DI variable name generation
1.1.3
Fixed bug in php templates. Added templates for catalog_attributes.xml, db_schema.xml, menu.xml, webapi.xml, console command.
1.1.2
Added generation of composer.json when creating new extension. Support for multiple worspace folders. Added classes from app/code/ to Inject dependency list.
1.1.1
New templates for config.xml, cron_groups.xml, systems.xml, sections.xml. Improved all templates with snippet placeholders.Fixed bug which prevented from entering new vendor name. Improved commands.
1.1.0
Adding observers using 'MagentoWizard: Add Observer' command
1.0.1
First public release of the extension
Create engaging, shoppable experiences with Magento Commerce. See how our next-generation technology, global partner ecosystem, and extensions marketplace can breathe life into your business.
Expand your genius. | Register for free |
- Page Builder
- User Experience
- Store Fulfillment
- Integrated B2B
- Business Intelligence
- Marketplace
Content & promotion creation made easy.
- Create content with an easy-to-use interface
- Personalize for specific customer segments
- Update pages quickly
Use modern, drag-and-drop tools to quickly create and launch new compelling content and deliver best-in-class shopping experiences without the need for developer support.
Take control of your storefront.
- Easily create your site with out-of-the-box templates
- Find the data you’re looking for in just one click
- Boost conversion through personalization
Automatically display products by price, color, release date, and more. Or take manual control for special items.
Sell and fulfill from anywhere.
- Allow customers to buy online or pick up in store
- Ship inventory to the right store at the right time
- Help store associates deliver a personalized experience
Give your customers the buying options they want and fulfill them from anywhere — PC, PoS, or tablet.
Serve B2C and B2B customers in one platform.
- Easily integrate with existing back-end systems
- Assign custom catalogs and price lists
- Boost sales with fast and convenient purchasing options
Manage quotes with the same ease as orders and use the same branding across all your sites without the hassle of multiple instances.
Sell more with robust business insights.
- Centralize your data
- Define your metrics and what data you’re using
- Turn data insights into striking visualizations
Never worry about trying to figure out average order value, customer lifetime value, or other key metrics again.
Add the functionality you need.
- Choose a responsive theme that works for you
- Implement Stripe for your payment gateway
- Add LiveChat for better customer support
Customize your commerce experience with thousands of extensions and themes in our marketplace.
Magicento Activate
Adobe is a 2020 Magic Quadrant Leader
Read the 2020 Gartner Magic Quadrant for Digital Commerce report for a closer look at which strengths helped make Adobe a Magic Quadrant Leader.
Adobe named a B2B and B2C Leader in Forrester reports.
Forrester named Adobe a Leader in both their B2C and B2B Q2 reports this year. Forrester offers thorough insights into all the areas where we think Adobe (Magento) shines so your business can too.