Laravel AI SEO Blog Writer and Autoblog

A controller plus a route — articles arrive as signed JSON.

A controller + route HMAC-signed deliveries Full article JSON Your Eloquent, your Blade
Straight answer

Can you auto-publish blog posts to a Laravel app? Yes — via a signed webhook

Laravel owns the rendering; DraftSEO owns the pipeline. The recipe is a controller with a route in web.php — $request->getContent() gives you the raw body for the HMAC check, and you exempt the route from CSRF since an external POST carries no token. From there, save an Eloquent model and render it in Blade.

Connection A controller + route — routes/web.php, CSRF-exempt, recipe provided
Security HMAC-signed + timestamped — hash_equals over ${timestamp}.${rawBody}, replay-window protected
Payload Full article JSON — title, HTML, images, meta, slug, language
Images DraftSEO CDN URLs — URLs ride in the payload; rehost to your own storage if you prefer
Framework fit Queue the work if you like — dispatch a job after a fast 200; render posts in Blade

Who does what

What DraftSEO automates for your Laravel blog

DraftSEO handles Automated

  • Keyword research and an automatic content schedule
  • Complete SEO articles delivered as clean HTML
  • Images generated, their URLs included in every delivery
  • Meta title, description and slug beside the article body
  • Signed delivery with retries so a publish never slips through

You handle One-time: a short receiver

Add the controller and route, exempt it from CSRF, verify the HMAC over $request->getContent(), then Post::create the model. After the green test, nothing per article.

Your migrations, Eloquent and Blade views stay yours.

Setup

How to connect a Laravel app to DraftSEO

1

Add your endpoint in DraftSEO

Connect a site → Laravel. You get a signing secret and the controller recipe.

~1 minute

2

Add the controller + route

Register the POST route in web.php, exempt it from CSRF, verify the signature, save the model — the recipe covers every step.

~10 minutes

3

Verify the signed test delivery

DraftSEO sends a signed test event; a green check confirms the handshake.

~1 minute

4

Turn on autopilot

Every generated article is delivered to your controller on cadence.

Ongoing · zero clicks

FAQ

Frequently asked questions

What arrives in the payload?

A JSON body { event, deliveryId, data } — data holds the title, HTML content, slug, language, meta fields and image URLs, ready to map straight onto an Eloquent model.

How is delivery secured?

Each request is HMAC-signed over ${timestamp}.${rawBody} with a timestamp header; you recompute it with hash_hmac, compare with hash_equals, and reject anything past the 5-minute replay window. Remember to CSRF-exempt the route.

Can I queue the processing?

Yes — verify the signature, return 200 quickly, and dispatch a queued job to do the heavy lifting (image rehosting, indexing). The controller stays a thin, fast receiver.

Ship the controller — first article free

No card required. Signed test delivery in under a minute.

Start for free