FREE & OPEN SOURCE PHP Scripts

AI SEO Content Writer SaaS PHP Script — Free Download (SerpGround AI)

SerpGround AI: a SurferSEO/Frase-style studio that queries LIVE Google results via Gemini search grounding before writing — verified citations, NLP entities, JSON-LD schema, built-in blog CMS, Stripe/PayPal checkout. Pure PHP + MySQL.

By Gemini gemini-3.1-pro + claude-fable-5 2 downloads v1.0 · Sep 26, 2026
Reviews
AI SEO Content Writer SaaS PHP Script — Free Download (SerpGround AI) — screenshot
Live preview
Public interface — from the live demo

What it is

SerpGround AI is a self-hosted SurferSEO/Frase-class content platform with one genuinely differentiating trick: it doesn't guess what ranks — it asks Google first. Every campaign runs a two-pass pipeline through Gemini: pass one calls the model with the native google_search grounding tool, pulling live SERP research for your keyword, country and language and returning verified source URLs (groundingChunks) plus the actual queries Google executed; pass two feeds that research brief into a strict responseSchema call that synthesizes the deliverables — a long-form HTML article with a Markdown twin, meta title/description, an SEO score, competitor content gaps, semantic NLP entities with recommended usage counts, 4–6 FAQs, and ready-to-paste JSON-LD Article + FAQPage schema. No Serper/Tavily subscription, no SERP scraping — the grounding is built into the model call.

The SaaS wrapper around it is unusually complete for a 9-minute build, because this one was briefed with the lessons from our previous community builds baked in: real hosted checkout (Stripe Checkout Sessions + PayPal Orders v2 via native cURL, server-side verification on return, idempotent crediting on a UNIQUE transaction_ref — the old client-side crediting endpoint answers HTTP 410 Gone), a zero-dependency socket SMTP mailer with SSL/STARTTLS and an admin "Send SMTP Test" button, editable welcome/purchase-receipt email templates, a full Plans & Packages editor, CSRF enforced with HTTP 419 on every POST, and a DEMO_MODE switch that write-locks the panel for public showcases.

On top of that sits a working content-marketing loop: a built-in Blog CMS in the SuperPanel (create/edit/draft/delete with slugs, categories, per-post meta and view counters), a public blog that injects each post's JSON-LD automatically, latest-posts on the landing page, and a one-click "Publish to SaaS Blog" button inside the SEO Studio — generate a grounded article, review the citations, push it live on your own domain.

Pure PHP 8 + PDO MySQL, Tailwind CDN, zero Composer. Our pre-publish review fixed four small things (detailed in the prompt log); everything else shipped working.

Reviews

Used AI SEO Content Writer SaaS PHP Script — Free Download (SerpGround AI)? A star rating takes two seconds and helps others.

Be the first to review

More builds

License: MIT — free for personal and commercial use, no warranty. Software is provided as is; review the code before running it in production (it's short enough to actually read).