API CDN

Fireboost: The API CDN for Laravel, Drupal, and WordPress

Fireboost is an SDK‑driven API CDN. You push JSON payloads to named cache keys using our SDK, and your apps read those keys globally from https://{your-project}.api.fireboost.io/ endpoints—public or private (JWT‑secured). No reverse proxying or auto‑generation from your CMS; you control what gets cached and when.

Laravel, Drupal, and WordPress power a huge portion of the web. With Fireboost, you don’t “wrap” those APIs—you publish the exact JSON you want to the edge and read it back at CDN speed. That means deterministic payloads, simple cache rules, and zero surprises.

  • SDK writes, global reads.Use the PHP SDK to saveCache and readCache. Public reads require no auth; private reads use a JWT obtained from your API key.
  • Project subdomain endpoints.Read from https://{your-project}.api.fireboost.io/v1/public-cache/get/{cache-key} or private equivalents.
  • Explicit invalidation.Overwrite with saveCache or remove with deleteCache / deleteAllCache when content changes.

Hook into platform events to publish fresh JSON at deploy or on content save: WordPress (save_post), Drupal (entity/node save), Laravel (model observers/jobs). Your frontend then consumes stable, fast edge endpoints.

Supercharging APIs with Fireboost

With Fireboost, your backend publishes exactly the JSON your apps need. Reads are served from the edge—public or JWT‑protected—so mobile apps, web frontends, and services get consistent, low‑latency payloads worldwide.

How it works (at a glance)

  1. Create a project and grab your Project Name and API key from the Fireboost dashboard.
  2. Install the PHP SDK: composer require fireboostio/fireboost-php-sdk.
  3. Push JSON to a cache key with saveCache and choose public or private visibility.
  4. Read it globally from your project subdomain using public or private endpoints.
  5. Invalidate with deleteCache or deleteAllCache as needed.

PHP SDK example

use FireboostIO\SDK\CacheManager;
use FireboostIO\SDK\Adapter\SessionAdapter;

$apiKey = getenv('FIREBOOST_API_KEY');
$cache = new CacheManager(new SessionAdapter(), $apiKey);

// Write (public)
$cache->saveCache('posts/123', ['id' => 123, 'title' => 'Hello'], true);

// Read (public, no auth required)
// GET https://{your-project}.api.fireboost.io/v1/public-cache/get/posts/123

// Read (private)
$data = $cache->readCache('internal/stats');

// Invalidate
$cache->deleteCache('posts/123');
SDK push + global read diagram
Push with the SDK → read from your project subdomain at the edge.

Getting Started in Minutes

  1. Create a project and copy your API key
  2. composer require fireboostio/fireboost-php-sdk
  3. saveCache your JSON
  4. Read from https://{your-project}.api.fireboost.io/

Resources:

  1. Full step‑by‑step guide at docs.fireboost.io/quickstart
  2. SDK details at docs.fireboost.io/sdk
  3. Public reads at docs.fireboost.io/public-read
  4. Private reads at docs.fireboost.io/private-read
  5. Writes at docs.fireboost.io/write