fridge / api
Simple PHP wrapper for the Fridge API
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/fridge/api
Requires
- guzzlehttp/guzzle: ~4.0
This package is not auto-updated.
Last update: 2025-10-08 18:10:26 UTC
README
Install
Composer.json
{ "require": { "fridge/api": "@stable" } }
Usage
$client = new \FridgeApi\Client("sk_xxxxxxxxxxx", "xxxxxxxxxxxx"); $pages = $client->get('content', array( 'type' => 'pages' )); foreach ($pages as $page) { $page->title = "New Page Title"; // Save new title $client->put("content/{$page->id}", $page->commit()); }
See the Fridge Documentation for more examples.