TypeRocket v1 Pro users can now upgrade to TypeRocket v5 at their convenience.
Custom Composer Packages
( v1 )
You can create your custom composer packages that are compatible with TypeRocket. When you do, TypeRocket comes with a Galaxy CLI command to help you publish your extension (this is like activating a plugin in WordPress).
If you are using the TypeRocket Pro WordPress plugin, you should make your packages WordPress plugins. This feature is designed for composer installations.
To make your package publishable, add a
publish.php file to the root of your composer package. When you publish your package, the
publish.php will get executed.
To publish your composer package, run the following command but replace
my-vendor/my-package with your composer vendor and package names.
php galaxy extension:publish my-vendor/my-package
When publishing your package, you may want to work with files. You can use the
tr_file() helper to copy and update files.
Found a typo? Something is wrong in this documentation? Fork and edit it!