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 Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Cache;
use Laravel\Passport\ClientRepository;
use RuntimeException;
class PassportSeeder extends Seeder
{
public function run(ClientRepository $clients): void
{
Cache::lock('passport:personal-access-client', 30)->block(10, function () use ($clients): void {
try {
$clients->personalAccessClient('users');
return;
} catch (RuntimeException) {
// No client yet — fall through to create.
}
$clients->createPersonalAccessGrantClient(name: 'TryPost Personal Access Client');
});
}
}