Built for developers who work with SQL Server and want a lightweight admin interface without standing up SSMS, Azure Data Studio, or a separate admin stack.
Drop staple.php next to your application, enter your connection details, and you have a complete SQL Server admin in under a minute. Full T-SQL type support — identity columns, uniqueidentifier, money, datetime2, nvarchar(max) — all handled automatically.
Browse across databases and schemas, insert and edit records, run raw T-SQL queries, and export results to CSV or JSON — without touching a line of code.
Everything you need to manage SQL Server from PHP
Full table CRUD
Browse, insert, edit, and delete records across any database and schema in SQL Server.
Schema-aware
Detects T-SQL column types, identity columns, computed columns, and foreign keys.
T-SQL type support
Native handling of uniqueidentifier, datetime2, money, nvarchar(max), and all SQL Server types.
Per-column rules
Customize labels, hints, readonly fields, and hidden columns via config.php.
CSRF protection
All write operations are protected by token-based CSRF validation.
Driver required
Requires the Microsoft PHP Driver for SQL Server (pdo_sqlsrv). No Composer, no other dependencies.
Up in under a minute
Download
Grab the zip or the bare PHP file below.
Upload
Drop staple.php anywhere on a PHP 8.2+ server with pdo_sqlsrv installed.
Connect
Open it in a browser, enter your SQL Server credentials, and go.
Check your inbox — your download link is on the way.