JSON Mock API Generator - PHP ScriptJSON Mock API Generator - PHP Script
Ship mock APIs instantly—paste JSON, get a live endpoint. No backend code, no complex setup. Perfect for frontend devs and QA.JSON Mock API Generator - PHP Script
Ship mock APIs instantly—paste JSON, get a live endpoint. No backend code, no complex setup. Perf...
Overview
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.
Other items by this author
|
PHP Script Installation Service
Don't worry about the installation of your script! Have your PHP Script installed for you.
|
$30 | Buy now |
| Category | Scripts & Code / PHP Scripts / Website Builders |
| First release | 14 March 2026 |
| Last update | 14 March 2026 |
| HTML/CSS Framework | Bootstrap |
| 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 |
| Files included | .php, .css, .html, .less, .sql, .xml, Javascript .js |
| Database | MySQL 5.x |
| JavaScript Framework | jQuery |
| Tags | php script, API, adsense script, api for developers |








