aircms / aircms-php
Aircms PHP API client
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/aircms/aircms-php
Requires
- php: ^7.3|^8.0
- guzzlehttp/guzzle: ^7.3
This package is auto-updated.
Last update: 2025-09-12 09:20:18 UTC
README
Aircms PHP API client
Requirements
- PHP 7.3 or higher
Documentation
Installation
composer require aircms/aircms-php
Get started
use Aircms\Aircms; $aircms = new Aircms; $aircms->setApiKey('<api_key>');
Get all pages
$aircms->getPages(); // [ // [ // "name" => "startpage" // "uuid" => "948a3718-a454-42df-9d87-a0d5214da6a0" // "created_at" => "2021-10-02T20:25:07.000000Z" // "updated_at" => "2021-10-11T15:41:49.000000Z" // "cached_at" => "2021-10-11T15:41:49.000000Z" // "cache_disabled" => false // ] // ]
Get page info
$aircms->getPage('startpage'); // [ // "name" => "startpage" // "uuid" => "948a3718-a454-42df-9d87-a0d5214da6a0" // "created_at" => "2021-10-02T20:25:07.000000Z" // "updated_at" => "2021-10-11T15:41:49.000000Z" // "cached_at" => "2021-10-11T15:41:49.000000Z" // "cache_disabled" => false // ]
Get page fields
$aircms->getPageFields('startpage'); // [ // 'sv' => [ // 'hero_text' => 'Välkommen' // ] // ]