Skip to content

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.

488 B
Raw Blame
<?php

declare(strict_types=1);

namespace App\Support\Requests\Signature;

/**
 * Single source of the signature rules shared by the web and API FormRequests
 * and the MCP create and update tools.
 */
class SignatureRequestRules
{
    /**
     * @return array<string, array<int, string>>
     */
    public static function rules(): array
    {
        return [
            'name' => ['required', 'string', 'max:255'],
            'content' => ['required', 'string'],
        ];
    }
}