🚀 Supercharge your PHP applications with Flyo Nitro! This SDK provides a clean, intuitive interface to interact with the Flyo Nitro API, enabling you to manage content, configurations, and entities with ease.
Install the SDK via Composer:
composer require flyo/nitro-phpGet up and running in just a few lines of code:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure authentication
$config = new Flyo\Configuration();
$config->setApiKey('token', 'YOUR_FLYO_AUTH_TOKEN');
Flyo\Configuration::setDefaultConfiguration($config);
// Make your first API call
$api = new Flyo\Api\ConfigApi();
try {
$result = $api->config();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ConfigApi->config: ', $e->getMessage(), PHP_EOL;
}The SDK provides access to the following API endpoints:
| API | Description | Source |
|---|---|---|
| ConfigApi | Retrieve configuration and settings | lib/Api/ConfigApi.php |
| EntitiesApi | Manage and query entities | lib/Api/EntitiesApi.php |
| PagesApi | Handle page content and structure | lib/Api/PagesApi.php |
| SearchApi | Perform content searches | lib/Api/SearchApi.php |
| SitemapApi | Generate and manage sitemaps | lib/Api/SitemapApi.php |
| VersionApi | Check API version information | lib/Api/VersionApi.php |
For comprehensive guides, examples, and API reference: