PHP · WORDPRESS & LEGALTECH

wp-clio-api — WordPress & PHP Client Library for Clio Legal Practice Management

wp-clio-api is an object-oriented PHP and WordPress integration library for the Clio Manage and Clio Grow REST APIs used by law firms. It simplifies OAuth 2.0 token refresh, lead intake synchronization, matter creation, and conflict-of-interest lookups directly from WordPress forms.

$ composer require bhubbard/wp-clio-api
GitHub ↗
API Version Clio v4 REST
OAuth2 Refresh Atomic WP Lock
Field Selection Nested `fields=`
Rate-Limit Guard X-RateLimit Aware
Interactive Clio v4 Legal Intake -> Contact & Matter Sync Simulator
Deterministic Execution Output & Telemetry STATUS: READY // 0 ERRORS

        
PHP (WordPress Clio API Client)
$clio = new \BHubbard\Clio\Client( get_option( 'clio_access_token' ) );

$contact = $clio->contacts()->create( [
    'type'       => 'Person',
    'first_name' => 'Elena',
    'last_name'  => 'Rostova',
    'email_addresses' => [ [ 'name' => 'Work', 'address' => '[email protected]' ] ],
] );

$matter = $clio->matters()->create( [
    'client'      => [ 'id' => $contact['data']['id'] ],
    'description' => 'Commercial Contract Dispute — Intake #4092',
    'status'      => 'Pending',
] );
Production Engineering Specifications
Repository:    https://github.com/bhubbard/wp-clio-api
Live Studio:   https://code.brandonhubbard.com/wp-clio-api/
Portal:        https://code.brandonhubbard.com/
Install:       composer require bhubbard/wp-clio-api
Design System: Brandon Hubbard Swiss Modernist (#0A0A0C / 1px Exposed Structural Grid)