Zero-dependency, single-file PHP admin scaffolding for MySQL, PostgreSQL, SQLite, MongoDB, and SQL Server. Download one file, drop it on your server, done.

database scaffolding tools

Drop one PHP file on any server. Browse, create, edit, and delete records — no framework, no install, no build step.

More tools coming soon

Browse collections, inspect documents, and manage data in any MongoDB database. Built-in JSON editor, BSON-aware, zero framework dependencies.

Coming soon maplescaffolder.com

What is PHPScaffolder?

PHPScaffolder is a suite of single-file PHP database administration tools — one file per database engine, zero external dependencies, no install step. Drop a PHP file onto any web server running PHP 8.2 or later, open it in a browser, and you have a full database admin interface: table browser, record editor, raw SQL runner, data seeder, and CSV/JSON export. No Composer, no npm, no build pipeline, nothing to configure on the server beyond PHP itself.

Each tool targets a specific database: AMPLE for MySQL and MariaDB, APPLE for PostgreSQL, SIMPLE for SQLite, MAPLE for MongoDB, and STAPLE for SQL Server. All share the same design: if PHP is already running on your server, you already have everything you need.

A lightweight alternative to phpMyAdmin and Adminer

phpMyAdmin is the default answer for browser-based MySQL administration, but it ships as a large multi-file application with its own configuration, session database, and server-level setup. Adminer reduces that to a single file but packs support for every major database into one download regardless of what you are actually using.

PHPScaffolder takes a different approach: one focused tool per database. AMPLE handles MySQL. APPLE handles PostgreSQL. That constraint keeps each file small, fast, and free of dead code paths for databases you are not using. The interface is built for developers working on a specific project — not for DBAs managing a fleet of heterogeneous servers.

If you need a self-hosted PHP database admin panel you can drop into a project directory, lock to a single table with a config.php file, and deploy over SFTP in thirty seconds, PHPScaffolder is built for that workflow.

Who uses PHPScaffolder?

  • Freelancers and agencies building client sites often need a quick way to let clients view or edit specific tables without exposing a general-purpose admin panel. Lock the tool to a single table via config.php and hand it off with confidence.
  • Backend developers prototyping a new schema reach for it when they want to inspect live data and test inserts without writing a temporary UI or opening a separate desktop database client. Download the file, drop it next to your application, and delete it when you are done.
  • Internal tooling teams use it as a lightweight read-only data browser. Set 'readonly' => true in config.php and every write action disappears from the interface.
  • PHP developers on shared hosting who lack SSH access or a desktop client can use it as a portable MySQL or SQLite browser that works with whatever web server the host already provides.
  • Open-source projects that ship a PHP application sometimes bundle a scaffolding tool to give operators a safe way to inspect and repair data without dropping to raw SQL at the command line.

Which tool do I need?

Database Tool Status PHP requirement
MySQL / MariaDB AMPLE Scaffolder Available pdo_mysql — bundled with most PHP installs
PostgreSQL APPLE Scaffolder Available pdo_pgsql
SQLite SIMPLE Scaffolder Available pdo_sqlite — bundled with most PHP installs
MongoDB MAPLE Scaffolder In development ext-mongodb via PECL
SQL Server / Azure SQL STAPLE Scaffolder Available pdo_sqlsrv — Microsoft PHP Driver for SQL Server

What can you do with it?

Every tool in the suite shares the same core feature set:

  • Browse and search — paginated table listing with per-column sort and a full-text search bar across all text columns
  • Insert, edit, and delete — full CRUD with inputs appropriate to each column type: date pickers, checkboxes for booleans, dropdowns for enums and foreign keys, file upload fields
  • Bulk delete — select multiple rows and delete them in a single action
  • Inline cell editing — click any cell to edit it in place without loading a full edit form
  • Query builder — add per-column filter conditions with operators, conjunctions, and type-aware value inputs, no SQL required
  • Raw SQL editor — an inline SQL editor with syntax highlighting, Ctrl+Enter to run, and a per-request query log
  • Export — download the current view as CSV or JSON, with active filters and column selections applied
  • Data seeder — generate realistic test records with type-aware fake values for names, emails, dates, numbers, and UUIDs
  • Schema view — inspect column types, defaults, nullable flags, indexes, and foreign key relationships
  • Column rules — per-column configuration for labels, hints, readonly or hidden fields, foreign key dropdowns, multi-select lists, file uploads, and auto-generated UIDs
  • CSRF protection — every write action is validated with a server-side token; all values are bound via prepared statements

Requirements and deployment

All PHPScaffolder tools require PHP 8.2 or later with the PDO extension and the driver for your target database. Beyond that, any web server that can run PHP will work — Apache, Nginx, Caddy, or the PHP built-in development server. No database is required for the tool itself; it connects to yours.

Deployment is copying one file. There is no package manager to run, no environment to configure, and nothing to keep updated separately. When you no longer need the interface, delete the file.

Tools are licensed under the Elastic License 2.0. Self-hosting for internal use and modification for your own projects are permitted. Commercial redistribution and offering the tools as a hosted service require a separate agreement.