JSON Mock API Generator - PHP Script

Description
JSON Mock API is a ready-to-use PHP script that turns any JSON into a real REST API. Your buyers get a professional, self-hosted product: a public marketing site, user registration, per-user mock endpoints, rate limits (Free / Pro), and a full admin panel. No coding the API layer—just upload the script, run the installer, and start offering mock APIs to your users or team.
Ideal for
- SaaS owners selling mock-API tools
- Dev agencies offering client demos
- Internal teams that need instant API endpoints for testing
- Anyone who wants to monetize or streamline “JSON to API” without building it from scratch
What you get
- Single codebase
- Clean URLs (/api/users, /docs/users)
- Faker-style placeholders for dynamic data
- Request logging
- Plan-based limits (Free / Pro)
- Fully configurable from the admin panel
One purchase, unlimited use on your server.
Features
- Instant API from JSON — Users paste or upload JSON and get a live endpoint (e.g. yoursite.com/api/users) with one click.
- Plans & rate limits — Built-in Free and Pro plans (configurable); limit endpoints and requests per day per user. Admin assigns plans; no self-service payment required unless you add it.
- Full admin panel — Dashboard stats, manage users (name, email, plan, status), all endpoints, API logs with filters, Plans CRUD, Settings (site name, URL, logo, favicon, default plan, registration toggle), static Pages, and admin accounts.
- User dashboard — Register, create endpoints (slug, method, status code, delay, custom headers), view usage vs limit, profile, and per-endpoint docs link.
- Faker placeholders — Support {{name}}, {{email}}, {{phone}}, {{date}}, {{uuid}}, {{integer}}, {{id}} in JSON; each request returns new random values.
- Documentation per endpoint — Public /docs/{endpoint} page with request URL, methods, status, delay, headers, and sample response. Great for sharing with clients or developers.
- Branding & SEO — Logo, favicon, meta description, and tracking code saved from Admin → Settings (stored in database; no need to make config writable).
- Security — Password hashing, CSRF protection, prepared statements, installer lock after setup. No hardcoded credentials in the package.
- Clean URLs — Apache rewrite (or equivalent) for /api/{slug} and /docs/{slug}. Works in subfolders (e.g. yoursite.com/dishly/).
- Documentation included — README, INSTALL, CONFIG, ADMIN, USER, and API docs so you and your customers can install and run it without guessing.
Requirements
- PHP 8.0 or higher
- MySQL 5.7+ or MariaDB
- Web server with URL rewriting (e.g. Apache mod_rewrite + AllowOverride, or Nginx equivalent)
- PHP extensions: mysqli, json
Runs on shared hosting, VPS, or any server that meets the above requirements.
Instructions
- Download the script package you received (ZIP or link).
- Upload all files to your server (e.g. public_html or your chosen folder).
- Create a MySQL database (or use an existing one).
- Run the installer by opening https://yourdomain.com/install/ in a browser.
- Complete the wizard: check requirements → enter database credentials → create admin account → set site name and URL → seed plans (recommended).
- Delete or rename the install/ folder after a successful install.
- Log in to Admin and adjust Settings (logo, favicon, default plan, etc.). Create a test user and an endpoint to try the API.
For detailed steps, troubleshooting, and configuration options, use the BUYER-GUIDE.md and INSTALL.md included in the package. Support and updates are provided as per your purchase terms.
| Author | salman554480 |
|---|---|
| Category | Scripts & Code / PHP Scripts / Website Builders |
| Price | $25 |
| Extended License | $75 |
| First Release | Mar 14, 2026 |
| Last Update | Mar 14, 2026 |
| Database | MySQL 5.x |
| Files included | .php, .css, .html, .less, .sql, .xml, JavaScript .js |
| Software version | PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4, PHP 5.4, PHP 5.5, PHP 5.6 |
| Html/css framework | Bootstrap |
| Javascript framework | jQuery |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks