Download the PHP package alieninternet/ais_txpplugin_packager without Composer
On this page you can find all versions of the php package alieninternet/ais_txpplugin_packager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alieninternet/ais_txpplugin_packager
More information about alieninternet/ais_txpplugin_packager
Files in alieninternet/ais_txpplugin_packager
Package ais_txpplugin_packager
Short Description Packaging tool for Textpattern plugins
License GPL-3.0-or-later
Homepage https://github.com/alieninternet/ais_txpplugin_packager
Informations about the package ais_txpplugin_packager
ais_txpplugin_packager - An alternative plugin packager for Textpattern plugins
This tool will produce a packed, gzipped, base64 encoded plugin package similar to that provided by zem_tpl and other tools, compatible with Textpattern 4.8.x.
This is not a plugin for Textpattern, nor is it a template to build a plugin from. Instead, the purpose is to allow Textpattern plugins to be developed with stand-alone package files rather than one monolothic file, such as the zem plugin template style).
The reason is that monolithic files are poor candidates for version control make it difficult to work efficiently with different file types, and increase maintenance complexity for complex plugins.
How to use
This tool can be used either manually on the command line, for as a part of a GitHub workflow.
As a command line tool
-
Create a folder for the plugin with the following file structure :
-
Write your plugin!
- Execute the package tool, specifying the path to the plugin; it will output a text file appropriately encoded, with a name based on the plugin name and version in the manifest unless you override the output file name.
For example:
-
Test your package in a test environment to ensure it is packed and unpacked correctly
- Release your plugin!
As a part of a GitHub workflow
Using a YAML workflow, you can run this packager without having to download it by using the alieninternet/build-txpplugin-txt
GitHub action.
Here is a simple example (from here):
For more information, see the alieninternet/build-txpplugin-txt project for more details.