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.

371 B
Raw Blame
<?php

declare(strict_types=1);

namespace App\Events;

use App\Enums\Post\Status as PostStatus;
use App\Models\Post;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class PostStatusChanged
{
    use Dispatchable, SerializesModels;

    public function __construct(public Post $post, public ?PostStatus $previousStatus = null) {}
}