Configuration
Keep the package surface as small as your application needs. Platforms, UI, queues, scheduling, and MCP are independently configurable.
Enabled platforms
LARAPOST_PLATFORMS=facebook,tiktok
The manager exposes only enabled drivers. The dashboard and MCP capability list follow the same setting.
TikTok mode
TIKTOK_PUBLISH_MODE=upload
upload is the production-safe default: LaraPost transfers media to TikTok and the creator finishes the post from the TikTok inbox. direct is for host applications that implement TikTok's required creator-info, privacy, interaction, and consent UX.
Dashboard
LARAPOST_UI_ENABLED=true
The dashboard can publish content and change provider credentials, so its routes use ['web', 'auth'] by default. Replace operator_middleware in the published config if your application uses a different authorization layer.
Queue
LARAPOST_QUEUE_ENABLED=true
LARAPOST_QUEUE_CONNECTION=redis
LARAPOST_QUEUE_NAME=larapost
When queue mode is enabled, due scheduled posts are dispatched as unique Laravel jobs. Immediate code paths can also opt into the queue with ->queue().
Scheduler
LARAPOST_SCHEDULER_ENABLED=true
LARAPOST_SCHEDULER_LIMIT=50
LaraPost registers its due-post command with Laravel's scheduler. Your application still needs the normal Laravel scheduler process or cron entry.
MCP
LARAPOST_MCP_ENABLED=true
LARAPOST_MCP_PATH=/larapost/mcp
LARAPOST_MCP_TOKEN=replace-with-a-long-random-secret
LARAPOST_BUSINESS_NAME="Acme"
LARAPOST_BUSINESS_DESCRIPTION="What the company actually does"
LARAPOST_TARGET_AUDIENCE="Who the content is for"
LARAPOST_BRAND_VOICE="Clear, practical, no hype"
LARAPOST_CONTENT_GUIDELINES="Never invent prices or guarantees"
See AI & MCP for client setup and security guidance.