Brandon Hubbard Engineering / wp-lawmatics-api
PHP · WORDPRESS & LEGAL CRM

wp-lawmatics-api — WordPress & PHP Client for Lawmatics Legal CRM & Intake

wp-lawmatics-api connects WordPress legal websites to the Lawmatics CRM API to automate client intake, matter pipelines, custom fields, and appointment booking. It maps Gravity Forms, WPForms, or custom REST submissions into typed Lawmatics prospect payloads with automatic retry handling.

$ composer require bhubbard/wp-lawmatics-api
GitHub ↗
Lead-to-CRM Latency < 180 ms
UTM Attribution First & Last Touch
Conflict Check Automated Email/Phone Lookup
Retry Queue ActionScheduler Ready
Interactive Legal Intake -> Lawmatics Prospect & Conflict Check Simulator
Deterministic Execution Output & Telemetry STATUS: READY // 0 ERRORS

        
PHP (WP Lawmatics Prospect Creation)
$lawmatics = new \BHubbard\Lawmatics\Client( get_option( 'lawmatics_access_token' ) );

$prospect = $lawmatics->prospects()->create( [
    'first_name'      => 'Jordan',
    'last_name'       => 'Reyes',
    'email'           => '[email protected]',
    'phone'           => '+13105550148',
    'case_title'      => 'MVA Intake — I-405 Rear-End Collision',
    'practice_area_id'=> 1420,
    'custom_fields'   => [ 'incident_date' => '2026-10-15', 'utm_source' => 'google_lsa' ],
] );
Production Engineering Specifications
Repository:    https://github.com/bhubbard/wp-lawmatics-api
Live Studio:   https://code.brandonhubbard.com/wp-lawmatics-api/
Portal:        https://code.brandonhubbard.com/
Install:       composer require bhubbard/wp-lawmatics-api
Design System: Brandon Hubbard Swiss Modernist (#0A0A0C / 1px Exposed Structural Grid)