This add-on provides enhancements for add-on developers.
- Show display order...
- Option group
- Options
- Permission groups
- Permission
- Test template modification against specific style
- Show breadcrumb for style property group
- Show template modification type in breadcrumb
- Show option group when adding option
- Show execution order for template modifications, class extensions and code event listeners (Since 1.2)
- Show style property group name and display order (Since 1.4)
- Show warnings when attempted to check for permissions or permission groups that do not exist (Since 1.2)
- Allow creating permission via permission interface even if permissions already exist (Since 1.2)
- Automatically fill out code event listener callback class and method as well creating listener file or adding just the function
- Exclude files or directories via
exclude\_filesandexclude\_directoriesrespectively viabuild.jsonfrom add-on archive - Create multiple phrases at once
- Build add-on archive from ACP
- View template modifications applied on a specific template
- Minify JavaScript files locally
- Lookup what email HTML and plain text was sent (Since 1.3)
- Ability to use full width in admin control panel to make use entire screen (Since 1.4)
- Ability to quickly copy-paste template name shown in template error without needing to change the type (Since 1.4)
- Automatically generate
README.md...- The following information will be available in README with description whenever possible:
- Add-on title
- Add-on description
- Add-on requirements
- Options
- Permissions
- Admin permissions
- BB codes
- BB code media sites
- Style properties
- Advertising positions
- Widget positions
- Widget definitions
- Cron entries
- REST API scopes
- CLI Commands
- Further more, you can add your own blocks by creating HTML files named after the hook positions:
BEFORE_TITLEAFTER_TITLEBEFORE_DESCRIPTIONAFTER_DESCRIPTIONBEFORE_REQUIREMENTSAFTER_REQUIREMENTSBEFORE_RECOMMENDATIONSAFTER_RECOMMENDATIONSBEFORE_OPTIONSAFTER_OPTIONSBEFORE_PERMISSIONSAFTER_PERMISSIONSBEFORE_ADMIN_PERMISSIONSAFTER_ADMIN_PERMISSIONSBEFORE_BB_CODESAFTER_BB_CODESBEFORE_BB_CODE_MEDIA_SITESAFTER_BB_CODE_MEDIA_SITESBEFORE_STYLE_PROPERTIESAFTER_STYLE_PROPERTIESBEFORE_ADVERTISING_POSITIONSAFTER_ADVERTISING_POSITIONSBEFORE_WIDGET_POSITIONSAFTER_WIDGET_POSITIONSBEFORE_WIDGET_DEFINITIONSAFTER_WIDGET_DEFINITIONSBEFORE_CRON_ENTRIESAFTER_CRON_ENTRIESBEFORE_REST_API_SCOPESAFTER_REST_API_SCOPESBEFORE_CLI_COMMANDSAFTER_CLI_COMMANDS
- When an add-on is built, following
READMEvariants will be created:- BB code version at
_dev/resource_description.txtfor resource descriptions - Markdown version at
README.mdfor any VCS repository
- BB code version at
- The following information will be available in README with description whenever possible:
- PHP 7.3.0+
- PHP's Intl extension
- PHP's DOM extension
- PHP's JSON extension
- Standard Library by Xon v1.20.1+
| Name | Description |
|---|---|
| Disable hash checking | For development purposes disabling XF's hash check is required to hotpatch code |
| Disable XF Template watching | XF's template watching causes a large amount of IO per page, and doesn't touch phrases to template modification. Disable for a boost in performance if it isn't required. |
| Use full width for admin control panel | If checked, admin control panel will have fluid width instead of fixed width. |
| Command | Description |
|---|---|
tck-devtools:generate-schema-addon |
Generates schema codes from add-on. |
tck-devtools:create-class-extension |
Creates an XF class-extension for an add-on and writes out a basic template file. |
tck-devtools:build-readme |
Builds README files for provided add-on. |
tck-devtools:clamp-versions |
Ensures an add-on does not have phrases or templates with version id's above the addon.json file. |
tck-devtools:generate-schema-entity |
Generates schema code from an entity |
tck-devtools:finder-class-properties |
Applies class properties to type hint relations. |
tck-devtools:better-export |
Exports the XML files for an add-on and applies class properties to type hint columns, getters and relations |
tck-devtools:create-entity-from-table |
Creates an XF entity for an add-on from a table. |
tck-devtools:add-phrase |
Creates a phrase for an add-on. |
tck-devtools:entity-class-properties |
Applies class properties to type hint columns, relations and getters |
There are some wrapper scripts under scripts directory provided by Xon which can be helpful.
This project is licensed under the MIT License - see the LICENSE.md file for details.