PHP · WORDPRESS HOSTING AUTOMATION
wp-pressable-api — PHP & WordPress Client Library for the Pressable Control Panel API
wp-pressable-api is a typed PHP wrapper around the Pressable REST API for programmatically managing WordPress sites, staging environments, domains, and edge cache purges. Agency engineering teams use it to build custom client portals and automated provisioning dashboards.
$ composer require bhubbard/wp-pressable-api
Copy
GitHub ↗
Auth Flow
OAuth2 Client Credentials
Token Caching
WP Transient Auto-Renew
Endpoints
Sites / Backups / Domains / PHP
Error Handling
Typed WP_Error
01. Interactive Workbench
02. Reference Implementation
03. Architecture & Specs
Interactive Pressable Cloud API v1 PHP Request Builder
Pressable Site ID & Target Domain
API Resource Endpoint
GET /v1/sites/{id} (Inspect PHP Version, Datacenter & Storage)
POST /v1/sites (Provision New Staging Clone from Production)
DELETE /v1/sites/{id}/cache (Flush Batcache & Edge CDN)
GET /v1/sites/{id}/php-logs (Stream Real-Time PHP Fatal Error Logs)
Execute Pipeline ▶
Reset
Deterministic Execution Output & Telemetry
STATUS: READY // 0 ERRORS
PHP (WP Pressable API Client)
$pressable = new \BHubbard\Pressable\Client(
client_id: PRESSABLE_CLIENT_ID,
client_secret: PRESSABLE_CLIENT_SECRET
);
$site = $pressable->sites()->get( 1048291 );
$purged = $pressable->cache()->purge( 1048291 );
Production Engineering Specifications
Repository: https://github.com/bhubbard/wp-pressable-api
Live Studio: https://code.brandonhubbard.com/wp-pressable-api/
Portal: https://code.brandonhubbard.com/
Install: composer require bhubbard/wp-pressable-api
Design System: Brandon Hubbard Swiss Modernist (#0A0A0C / 1px Exposed Structural Grid)