Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
<?php
declare(strict_types=1);
namespace App\Dto\Analytics;
final readonly class PublicationPage
{
/**
* @param list<DiscoveredPublication> $publications
* @param int|null $providerRowCount Rows the network returned, including the replies left out of $publications; a provider cap counts these.
*/
public function __construct(
public array $publications,
public ?string $nextCursor,
public bool $providerExhausted,
public bool $providerLimited = false,
public ?string $partialReason = null,
public bool $canStopAtTarget = true,
public ?int $providerRowCount = null,
) {}
/**
* An exhausted, provider-limited page for an account whose grant lacks
* the scope the history read needs, so no request is made.
*/
public static function scopeMissing(): self
{
return new self([], null, true, true);
}
}