Skip to content

An overview of all preferences and plugins in your codebase, with some nifty commands

License

Notifications You must be signed in to change notification settings

Itonomy/modification-detector-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modification Detector for Magento 2 projects

Hey there lonely wanderer. A module for Magento 2 that may spark your interest. And its open-source. This module will give an overview of all preferences and plugins in your codebase.

And off-course it comes with some nifty commands

Summary

This module lists all plugin/preferences in your codebase, and adds some options to filter them to your liking.

Installation

Just the regular stuff

composer require itonomy/modification-detector

##Commands

List all preferences and plugins

bin/magento dev:modification:list

--type [-t]

Filter by type: plugin | preference

bin/magento dev:modification:list -t plugin

--filter [-f] keyword

Filter/Search all plugins containing keyword

bin/magento dev:modification:list -f MyModule

--no-native

Filter all prefs/plugs by Magento itself

bin/magento dev:modification:list --no-native

--summary

Gives a count/overview of all plugins/preferences

bin/magento dev:modification:list --summary

--detect-conflict

  • Overview of all classes having multiple plugins/preferences on the same class
  • Checks if in a "around" plugins callable is called
bin/magento dev:modification:list --detect-conflict

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

An overview of all preferences and plugins in your codebase, with some nifty commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages