원클릭으로
litespeed-licensing
litespeed-licensing에는 detain에서 수집한 skills 3개가 있으며, 저장소 수준 직업 범위와 사이트 내 skill 상세 페이지를 제공합니다.
이 저장소의 skills
Adds a new action method to `src/LiteSpeed.php` following the param-build → req() pattern. Sets params on `$this->params` with `rawurlencode()`, validates inputs against `$valid*` arrays, returns array or false. Use when user says 'add method', 'new action', 'implement endpoint', or names a LiteSpeed eService action. Do NOT use for modifying `req()` itself or changing transport/auth logic.
Documents and applies the project's error pattern: validation returns `['error' => 'msg']`, failed cURL returns `false`, errors accumulate in `$this->error[]`. Use when adding new methods, handling return values, or debugging failed API calls. Do NOT use for adding exceptions — the project intentionally avoids them, and do NOT use for non-LiteSpeed API integrations.
Creates PHPUnit tests in `tests/` for `Detain\LiteSpeed\LiteSpeed` bootstrapped via `vendor/autoload.php`. Covers input validation (returns `['error'=>...]`) and response parsing by partially mocking `req()` with Mockery. Use when user says 'write test', 'add test', 'test method', or 'coverage'. Do NOT use for integration tests that hit the live LiteSpeed API at store.litespeedtech.com.