Skip to main content
modiva.ai
Anmelden
PHP logo

PHP · PHP 8.1+

PHP SDK für die Modiva API

Ein moderner PHP-Client für die Social-, Ads- und CRM-API von Modiva. Ein typisierter Client erreicht alle 38 Integrationen und 460+ Tools über Social, Ads, CRM und E-Commerce — Authentifizierung, Retries, Pagination und Idempotenz werden für dich übernommen.

Hol dir deinen API-SchlüsselAuf GitHub ansehenDokumentation lesen

Installation

composer require modiva/sdk

Erfordert PHP 8.1+. Setze MODIVA_API_KEY in deiner Umgebung — der Client liest ihn automatisch.

Schnellstart

Verbinde ein Konto im Dashboard, erstelle einen API-Schlüssel und veröffentliche dann mit wenigen Zeilen.

use Modiva\Client;

$modiva = new Client(); // reads MODIVA_API_KEY

// List connected accounts
$connections = $modiva->connections->list();

// Publish a post (or schedule with scheduledAt)
$modiva->social->posts->create([
    'connectionId' => $connections[0]['id'],
    'text'         => 'Hello from the Modiva PHP SDK!',
]);

Was du bekommst

  • Ein Client für alle 38 Integrationen — keine Bibliothek pro Plattform.
  • Typisierte Methoden für Posts, Kommentare, DMs und Analytik plus eine generische Tool-Oberfläche für jedes der 460+ Tools.
  • Bearer-Key-Authentifizierung aus MODIVA_API_KEY; Anbieter-OAuth und Token-Aktualisierung werden serverseitig übernommen.
  • Automatische Retries mit Backoff, idempotente Creates und integrierte Pagination.
  • MIT-lizenziert und Open Source auf GitHub.

Häufig gestellte Fragen

How do I install the Modiva PHP SDK?
Run `composer require modiva/sdk`. It requires PHP 8.1+. Then set MODIVA_API_KEY in your environment (create a key in the dashboard) and instantiate the client.
Is the PHP SDK free and open source?
Yes — it's MIT-licensed and published on GitHub at modiva-dev/modiva-php. Read the source, file issues and contribute.
Which integrations does the PHP SDK support?
All of them. One client reaches every one of the 38 integrations — Instagram, TikTok, Google Ads, HubSpot, Shopify and more — through the same typed methods and a generic tool surface.

Andere Sprachen

Node.js / TypeScriptPythonGoRubyJava.NET / C#Rust

← Alle Modiva SDKs

Beginne mit PHP zu bauen
Kostenlos starten · Erste 3 verbundene Konten gratis · API-Schlüssel mit einem Klick
Kostenloses Konto erstellen
PHP SDK — Modiva