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
Copy
GitHub ↗
Lead-to-CRM Latency
< 180 ms
UTM Attribution
First & Last Touch
Conflict Check
Automated Email/Phone Lookup
Retry Queue
ActionScheduler Ready
01. Interactive Workbench
02. Reference Implementation
03. Architecture & Specs
Interactive Legal Intake -> Lawmatics Prospect & Conflict Check Simulator
Prospective Client Intake & Case Type
Lawmatics CRM Pipeline Action
POST /v1/prospects (Create Lead + Custom Intake Fields + UTM Source)
GET /v1/contacts?filter_by=phone (Automated Pre-Intake Conflict Check)
POST /v1/events (Schedule Initial Attorney Consultation)
POST /v1/notes (Attach CallRail Recording & California SB 37 Consent)
Execute Pipeline ▶
Reset
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)