Professional Documents
Culture Documents
Your development environment is set up, and you are now ready to create a
plugin! Creating a plugin consists primarily of creating a couple of files which
can be done by running the following command:
./console generate:plugin --name="MyPlugin"
To enable it, either do it through the web interface or use the command line:
./console plugin:activate MyPlugin
MyPlugin.php:
plugin.json:
README.md:
screenshots/:
Ok! You've set up your development environment and created your plugin! Now
all you have to do is make it do what you want. The bad news is that this is the
hard part. The good news is that we've written a bunch of other guides to help
you shorten the learning curve.
If you're interested in changing the look and feel of Piwik, read our
Theming guide.
And make sure to read our security guide, Security in Piwik! We have
very high security standards that your plugin or contribution must respect.
When you've completed your plugin, you can read our Distributing your plugin
guide to learn how to share your plugin with other Piwik users.