Launch your SaaS on plain PHP.
Start with working sign-in, Stripe billing and admin. Choose a product type, make it yours, and host it on your own server — full source, one payment.
This storefront and all 7 live demos run on the exact code in the download.
One codebase · seven storefronts
A whole SaaS, with the lights already on.
Plain PHP, SQLite and Stripe — no build step, no framework, no Docker. Pick a preset, set your prices, ship this week.
Real products — not screenshots of a framework.
Every tab is a working site type in the download. Add your keys, point your agent at the content, and ship it as yours.
AI Image Studio
Prompt a FLUX model on fal.ai, spend a credit, and the render lands in your own private R2 bucket — served back through presigned URLs. Text- and image-to-image, gallery, lightbox.
consume_credits_for_action($uid, 'image.generate', $n); fal_submit_generation('flux-dev', $prompt); // fal → download → R2 → presigned URL
Subscriptions
Stripe tiers with access levels and monthly credits from one config file. Checkout, proration, dunning and the billing portal are wired.
'pro' => [ 'price_cents' => 4900, 'access_level' => 20, 'credits' => 2000, ],
API product
Sell bearer keys with per-key rate limits and a per-call credit cost. Keys are hashed and peppered at rest, revocable, and capped per user.
curl -H "Authorization: Bearer ss_live_••••" \ app.yoursaas.com/api.php?resource=notes { "ok": true, "rate_limit": "58/60" }
Credits & usage
One atomic ledger. Grant from webhooks or purchases, spend on any action — generations, API calls, exports, render minutes. Never goes negative.
consume_credits_for_action($uid, 'export.csv', 1); grant_credits_to_user($uid, 2000, 'plan.renew');
Mobile app backend
Apple, Google and passwordless sign-in for your iOS/Android app, a bearer-token JSON API over per-user data, and an operator console to run it.
POST /api.php?action=app_auth_apple { "id_token": "…" } → { "token": "at_9f3…" }
It all ships in one download — configure your keys, point your agent at the content, rebrand, deploy.
Click through all seven live demos — including a whole client site built in the CMS.
Each profile runs as its own faux-logged-in showcase on its own subdomain. Open any one in a new tab, click everything, break nothing: no card needed, no payment is real, and nothing you do is saved.
Each site-type demo is one of the seven ready-to-run profiles in the download — copy the folder, add your keys, ship.
Keep the infrastructure small. Make the product yours.
| web_build_step | none |
| source_code | included |
| hosting | your own server |
| database_mode | SQLite WAL |
Native iOS + Android apps included — with the PHP mobile app backend they run on.
One of the seven site types is a complete mobile app backend: verified Apple, Google and passwordless sign-in, a bearer-token JSON API, an operator console, and native in-app subscriptions via RevenueCat landing on the same access levels as Stripe. It ships with two real native apps already wired to that API — a SwiftUI (Liquid Glass) iOS app and a Jetpack Compose (Material 3) Android app — with configuration guides for your backend URL, provider IDs, signing and store products.
- Native sign-in, verifiedApple & Google id_tokens are signature-checked against each provider's keys before a session is minted — plus passwordless email. Out comes a long-lived bearer token your app keeps.
- A real JSON APIBearer-authed endpoints for the signed-in user — profile, and a per-user data resource you clone per model. Rate-limited, PII-safe, no cookies or CSRF. The contract your app codes against.
- Run it from the adminAn operator console for app users, their data, devices and tokens, with an API quickstart. Gate features and charge with the same Stripe billing as every other site type.
- Two native apps, in the boxA SwiftUI + Liquid Glass iOS app and a Jetpack Compose + Material 3 Android app ship in
clients/, already wired to this API and RevenueCat — sign-in, dashboard, profile, a per-user items CRUD and a paywall. Configure your backend and provider IDs, then build and test locally in Xcode or Android Studio.
Have your AI build a client site — then hand it over.
Point your coding agent at the CMS and it assembles a complete, beautiful Simple Stack site — hero, sections, pricing, FAQ, gallery — from the block library. Deliver it, and the client edits the text, images and layout themselves in the no-code builder. No dev round-trips, no monthly page-builder fee, no build step. Spin them up in bulk, each on one cheap box.
- 1 · Your AI builds itThe agent drops in a hero with a background carousel, alternating section bands, pricing, FAQ, a gallery — from 25+ blocks. On-brand in minutes.
- 2 · You deliverA fast, polished site on plain PHP + SQLite — one cheap VPS, no build step, no SaaS subscription. It's the client's to keep.
- 3 · The client edits — safelyGive them Simple access (text & images only — your design is locked, enforced server-side) or Full build control. They edit in the no-code builder with live preview, side by side. No dev needed, and no broken layouts.
Two access levels per user: hand a client Simple (content-only) editing without the risk, or a teammate Full build control. Assign it in one click from Admin → Users.
A live parts bin your AI builds from.
Your download ships with a self-contained reference site — every CMS component rendered live, complete page templates and the UI kit, built with the real renderer and the real stylesheet, so what your agent copies is exactly what ships — plus the project docs and 20 setup-to-deploy guides. Serve it with one command, browse it offline, or point your coding agent at its machine manifest.
- Browse before you build. Every block and full-page layout rendered live — heroes, pricing, galleries, testimonials, stats, FAQ — with the exact CSS your site uses.
- Point your agent at it. A
/manifest.jsonlists every component and template, so your AI assembles pages from real parts instead of guessing. - It ships in the box. No login, no account, no hosted dependency — it's yours, offline, the moment you download.
$ php -S localhost:8000 -t reference reference/router.php
Give your coding agent a working foundation.
Plain PHP, clear entry points and setup guides give your coding agent a concrete starting point. Describe your changes, review the result, and run the included checks.
- app/
- bootstrap.php
- subscriptions.php
- image_gen.php
- public/
- index.php · api.php
- AGENTS.md
- AI_HANDOFF.md
- AI_TASK_PROMPTS.md
- .env
Clear entry points, documented helpers and runnable checks.
# AGENTS.md — the brief stack PHP 8 · SQLite · jQuery · no build step routes resolve_page() in public/index.php money app/subscriptions.php · consume_credits_for_action() check php scripts/doctor.php # says what's missing
# AI_HANDOFF.md — conventions & gotchas
where one file per concern, no hidden magic
add copy the notes CRUD for a new resource
db app/migrations/NNN_name.sql + schema.sql
style 20 accent palettes · CSS variables
# AI_TASK_PROMPTS.md — copy / paste "Rebrand to [name], accent [1-20], swap legal pages." "Add a [product] plan at [price] with [credits]." "Wire Stripe + SES, run doctor, tell me when I can charge."
Point your agent at AGENTS.md
— it walks you through setup, Stripe, email, and deploy.
Preview locally. Connect services. Launch.
Unzip & copy
copy a template folder
Install & connect
composer install · Stripe + SES
Ask your agent
rebrand · plans · run doctor
Deploy & charge
NGINX + PHP-FPM · take cards
Try the local app before configuring billing or email. Provider approval and deployment take additional time.
A small stack you can maintain.
The web app uses PHP, SQLite, bundled jQuery and one Composer package: PHPMailer. Keep the runtime and dependencies updated; a smaller dependency list still needs maintenance. Native clients have their own SDK dependencies.
Get the whole stack — £49, pay once.
Simple Stack
£49 Limited-time launch price- Seven ready-to-run site types: subscriptions & memberships, an AI image studio, digital downloads, credit/usage metering, API product, mobile app backend, full showcase
- Native iOS (SwiftUI) + Android (Compose) source templates — backend and RevenueCat integration included; configure, build and test for your app
- A built-in no-code CMS / page builder — spin up whole client sites, then hand text/layout/image edits to the client
- Complete PHP + SQLite codebase — no framework, no build step
- Restyle from .env: 20 palettes × 6 type pairings × 5 hero layouts, light + dark
- Passwordless + Apple/Google sign-in, Stripe checkout, webhooks, credits, API keys, superadmin
- Setup, Stripe, email, deploy and security guides
- Written for AI agents to extend it for you (AGENTS.md + handoff docs)
- Lifetime access to the version you buy
Try all 7 live demos first — no card, nothing saved.
Immediate-supply cancellation terms are confirmed before Checkout; statutory rights remain unaffected. Pay securely with Stripe; no account needed up front.
The honest FAQ.
Yes. Start with AGENTS.md for the architecture and setup prompts. The installer creates the local database and secrets; your coding agent can help rebrand and connect services. Review its changes and run the included checks before launch.
This storefront runs on the starter. It includes parameterised SQL, signed webhooks, CSRF checks, rate limiting and session hardening. Your own launch still needs production configuration, provider setup, backups and end-to-end tests. The included doctor and smoke tests help you verify that work.
Three zones, each with the right chrome. Your marketing site keeps the clean top nav; the moment someone signs in they land in a polished left-sidebar member app — dashboard, billing, downloads, studio — with a desktop sidebar and a mobile drawer. /admin is its own separate sidebar app for you, and tool pages like the page builder get a sticky save toolbar up top. Access is tiered: signed-in users get the base app and you gate the rest behind a plan with one check, so free users are routed to pricing automatically.
Yes — every site type ships a real no-code page builder. Style each section band (background image, colour, dark mode, full-screen hero, scroll animations), drop in 25+ blocks — a hero with a background carousel, pricing tables, FAQ accordions, galleries with lightbox, testimonials, stats, video — reorder with arrow buttons, start from ready-made sections, and watch a live preview. It renders server-side and is sanitised on save. Spin up microsites and full client sites without touching code or a build step — here is a whole site built entirely in the CMS. Stand sites up for clients in bulk, each on its own cheap box, with the CMS overhead already handled.
Yes — a complete AI image studio is one of the seven site types: prompt a FLUX model on fal.ai, generate or edit images, spend credits. Renders land in your own private R2 bucket, served via presigned URLs. Stays off until you add your FAL_KEY — full detail is in the flagship section above.
The web app renders on the server with PHP and uses jQuery for interactions. You can edit and deploy it without a JavaScript build pipeline. Forms, the editor and other interactive features use JavaScript. The optional native clients have their own local build tools.
SQLite is a practical starting point for a product hosted on one server. WAL mode supports concurrent readers and a single writer. Capacity depends on your queries, write traffic and hardware; load-test your actual workload. The starter includes indexes, backups and a guide for a later MySQL migration.
Rename APP_NAME, swap the copy and plans, replace the legal pages — then restyle from .env alone: 20 accent palettes × 6 type pairings × 5 hero layouts plus light/dark, so two sites built from the same download don't look related. There's even a local-only design lab bar for clicking through the combinations. The repo ships AI-handoff docs so your agent can do most of it for you.
You pay your hosting and service providers directly. Budget for a PHP server, domain, transactional email and payment processing. Image generation/storage and native app store accounts add costs if you enable them. Check provider pricing for your region and expected usage; the template itself is a one-time purchase.
One download with the full codebase, pre-built into seven ready-to-run site types. In the box:
- Seven site types: subscriptions & memberships, an AI image studio, digital downloads, credit/usage metering, an API product, a mobile app backend, and the full showcase
- Native iOS (SwiftUI) and Android (Jetpack Compose) apps in
clients/, already wired to the mobile backend and RevenueCat - A marketing site, a polished left-sidebar member app and a dedicated admin app in every type
- A built-in no-code CMS / page builder on every one
- The setup, Stripe, email, deploy and security guides, plus the AI-handoff docs
Copy the folder you want and ship. You get lifetime access to the version you buy.
Checkout is handled by Stripe — no account needed up front. The moment your payment clears we email a sign-in link and code to your Stripe email address. Click it and the download is waiting in your dashboard. You can link Apple or Google sign-in to the same account if you like.
One named person or legal entity. Build unlimited own and client projects, modify the starter, deploy commercially, and let employees, contractors and AI tools work on your licensed copy. You can hand over a finished deployed product, but you cannot redistribute Simple Stack itself as reusable boilerplate or a standalone source product; a client who needs an independent starter copy needs their own licence. Your branding, content, data and original code remain yours. Full terms are in the licence and on the Terms page.
You get the version you buy, and you can re-download it any time from your dashboard. We actively use this stack on our own sites and keep refining it — but future updates aren't guaranteed or part of the price. If we ship a meaningful update, buyers are emailed so you can grab it.
Yes — try the whole thing before you spend a penny: all seven site types run as fully interactive live demos, every screen, no card, no signup, so what you click is exactly what you get. Before Checkout you expressly request immediate supply and acknowledge that the 14-day change-of-mind cancellation right ends when supply begins. Your rights if the content is faulty, not as described or cannot be supplied are unaffected.
It includes security controls and regression tests — parameterised SQL, signed webhooks, CSRF, rate limiting and session hardening — and we run it on our own production sites. No software can be guaranteed free from every defect or vulnerability, so you remain responsible for configuring, testing, securing and maintaining your deployment. The Terms explain the responsibilities and statutory protections in plain English.
Stop assembling. Start shipping.
Full source, 7 site types, a no-code CMS and every guide — yours forever for £49. Pay once and build anything: no template subscription and no web build step.
Launch offer · £49 today — £99 at general release.