PHP · WORDPRESS & NONPROFIT CRM
wp-givebutter-api — WordPress & PHP Integration Library for Givebutter Fundraising
wp-givebutter-api is a full-featured PHP client for the Givebutter API that synchronizes nonprofit campaigns, recurring donations, tickets, and donor contacts with WordPress. It includes verified webhook handlers and transient caching for embedding live fundraising progress bars.
$ composer require bhubbard/wp-givebutter-api
Copy
GitHub ↗
Endpoints Covered
Campaigns / Transactions / Contacts
Webhook Security
HMAC Signature Check
Caching
WP Transient Layer
PHP Compatibility
PHP 8.0 – 8.4
01. Interactive Workbench
02. Reference Implementation
03. Architecture & Specs
Interactive Givebutter Campaign Thermometer & Webhook Event Inspector
Campaign Code & Donation Event Payload
Givebutter API v1 Operation
GET /v1/campaigns/{id} (Live Progress Bar & Goal Percentage)
POST /v1/contacts (Upsert Donor Profile with Tags)
GET /v1/transactions?campaign_id={id} (Paginated Donor Wall)
Webhook `donation.succeeded` -> Trigger WordPress Role & Receipt
Execute Pipeline ▶
Reset
Deterministic Execution Output & Telemetry
STATUS: READY // 0 ERRORS
PHP (WP Givebutter API Client)
$givebutter = new \BHubbard\Givebutter\Client( get_option( 'givebutter_api_key' ) );
$campaign = $givebutter->campaigns()->get( 'annual-gala-2026' );
$percent = round( ( $campaign['raised'] / max( $campaign['goal'], 1 ) ) * 100, 1 );
$transactions = $givebutter->transactions()->list( [
'campaign_id' => $campaign['id'],
'per_page' => 10,
] );
Production Engineering Specifications
Repository: https://github.com/bhubbard/wp-givebutter-api
Live Studio: https://code.brandonhubbard.com/wp-givebutter-api/
Portal: https://code.brandonhubbard.com/
Install: composer require bhubbard/wp-givebutter-api
Design System: Brandon Hubbard Swiss Modernist (#0A0A0C / 1px Exposed Structural Grid)