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\Http\Requests\App\Pinterest;
use Illuminate\Foundation\Http\FormRequest;
class StorePinterestBoardRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
/**
* Pinterest caps board names at 50 characters.
*
* @return array<string, mixed>
*/
public function rules(): array
{
return [
'name' => ['required', 'string', 'max:50'],
];
}
protected function prepareForValidation(): void
{
if (is_string($this->input('name'))) {
$this->merge(['name' => trim($this->input('name'))]);
}
}
}