Skip to main content
If you have a set of custom grammars and themes that you want to reuse across multiple projects or share with others, you can bundle them into a custom extension. Custom extensions are simple PHP classes that implement the Phiki\Contracts\ExtensionInterface interface.
You can register the custom extension using the extend() method.
The register() method will be called when the extension is registered and is applied to all future usage of the Phiki instance.