Skip to main content
Run any Skill in Manus
with one click
GitHub repository

webhosting-module

webhosting-module contains 5 collected skills from myadmin-plugins, with repository-level occupation coverage and site-owned skill detail pages.

skills collected
5
Stars
4
updated
2026-03-30
Forks
0
Occupation coverage
2 occupation categories · 100% classified
repository explorer

Skills in this repository

phpunit-test
software-quality-assurance-analysts-and-testers

Writes PHPUnit 9 tests in `tests/` under namespace `Detain\MyAdminWebhosting\Tests\`. Follows ApiTest.php static string-inspection pattern for `src/api.php` and PluginTest.php ReflectionClass pattern for `src/Plugin.php`. Use when user says 'write test', 'add test case', 'test this function', 'add coverage'. Do NOT use for integration tests that require a live database or MyAdmin framework bootstrap.

2026-03-30
plugin-hook
software-developers

Adds a new event hook to src/Plugin.php::getHooks() and implements the corresponding static handler accepting a GenericEvent. Follows the run_event() / get_module_settings() / get_module_db() pattern used in loadProcessing(). Use when user says 'add hook', 'listen to event', 'handle dispatcher event', or adds a new event name. Do NOT use for modifying existing lifecycle callbacks already in loadProcessing() (setEnable, setReactivate, setDisable, setTerminate).

2026-03-30
plugin-settings
software-developers

Registers new admin settings in src/Plugin.php::getSettings() using add_dropdown_setting(), add_text_setting(), add_master_checkbox_setting(), or add_master_label(). Includes the defined('CONST') ? CONST : fallback default pattern and correct setTarget('module')/setTarget('global') scope. Use when user says 'add setting', 'new config option', 'expose admin toggle', 'add dropdown toggle', 'add text config'. Do NOT use for settings outside the webhosting plugin or for runtime service-lifecycle changes.

2026-03-30
service-lifecycle
software-developers

Implements service lifecycle callbacks (setEnable, setReactivate, setDisable, setTerminate) inside src/Plugin.php::loadProcessing(). Covers DB status updates via get_module_db(), TFSmarty email rendering, \MyAdmin\Mail::adminMail(), myadmin_log() error paths, and GenericEvent subevent dispatch. Use when user says 'implement suspend', 'handle termination', 'add reactivation logic', or modifies loadProcessing(). Do NOT use for adding new hook types or creating new Plugin methods outside of loadProcessing.

2026-03-30
webhosting-api-function
software-developers

Creates a new procedural API function in `src/api.php` following the `api_place_buy_website` / `api_validate_buy_website` pattern. Handles `get_custid()`, `function_requirements()`, destructured return arrays, and `$return['status']`/`$return['status_text']` response shape. Use when user says 'add API function', 'new api_*', 'expose endpoint in api.php'. Do NOT use for class-based methods in `src/Plugin.php` or `include/Api/` in the parent myadmin project.

2026-03-30
webhosting-module Agent Skills on GitHub | SkillsMP