An addon is how you can extend the core functionality of Statamic. Rather than digging in and messing with core files, we’ve created a system where developers can easily build new features that are compatible with everyone’s Statamic installations. Addons can then be easily shared or sold to others to let them extend their Statamic installation.
Each Addon can be viewed as a new “feature”, or group of features, for your site. It can be something simple, such as a tag that returns the current time in Klingon, or something rather large, like an Ecommerce Shopping Cart. Although the complexity varies between the examples, each solves one clear problem.
Statamic Addons involve writing PHP. While we have a lot of helper methods and API classes to take advantage of, you’ll still need to know how to write PHP, and be familiary with object oriented programming, PHP namespacing, and ideally - Laravel.
An addon can contain a number of classes, each . It can be made up of one of them, or up to all of them. Each aspect accomplishes different missions.
By using combinations of these aspects in your addons, you can create some truly fascinating results. And remember, all of these aspects are simply PHP, so anything you can do with PHP is possible here.
So, what to tackle first? Let’s get started..