DEV Community

Fred Peterson
Fred Peterson

Posted on

Introducing my new PHP CLI Utility for Database Management

๐Ÿš€ Introducing my new PHP CLI Utility for Database Management
After a long week of coding, Iโ€™m excited to share something Iโ€™ve been updating: a standalone CLI tool that makes database management tasks faster and framework-agnostic.

๐Ÿ”— Repo: https://github.com/tamedevelopers/database
๐Ÿ”น What it does

This CLI gives you powerful database operations out of the box, without any application setup or framework conflicts.
Create Database Schema - Migrations
Converts .sql file into a migration database schema. Works with default DB packages or Laravel schema (using flags --type=laravel)

Export Database
Dump your entire database into a .sql file. Optionally compress the file into .zip or .rar for easy backups and sharing.

Import Database
Seamlessly restore a database from a .sql file into your target environment.

๐Ÿ”น Why itโ€™s different
โœ… Zero framework collision โ€“ runs independently, doesnโ€™t interfere with Laravel or any PHP framework.
โœ… Standalone โ€“ no setup required, plug and play.
โœ… Lightweight โ€“ only focuses on whatโ€™s needed most for DB handling.

๐Ÿ”น Use Cases
Entire DB ORM - For Vanilla PHP by default
Quick schema setup in a new environment.
Exporting & compressing databases for backups.
Importing .sql files without opening a GUI or phpMyAdmin.

Top comments (0)