Product Hunt🚀 We are live on Product Hunt! Support our launch & use code PHLAUNCH20 for 20% off Pro
Stratosv1.4.1
Database Tools• 3 min read

Safe .env Editor & Database Automation

Edit .env files safely with timestamped backup protection, generate APP_KEY secrets, and 1-click provision databases.


Safe .env File Editor

Editing project environment variables in the terminal is prone to syntax mistakes and accidental credential deletion. Stratos includes a built-in, syntax-highlighted .env editor with automated safety backups.

Timestamped Backup Protection

Every time you save modifications to your .env in Stratos, the app automatically creates a timestamped snapshot before writing:

.env.stratos-backup-20260822-205630

If anything breaks, you can revert to any prior configuration in 1 click.

1-Click Laravel Secret Generation

Click Generate APP_KEY to invoke the active PHP runtime and generate a cryptographically secure base64:... key without opening a terminal.

1-Click Database Provisioning

When starting a new project, click Provision Database from the site details pane:

  • SQLite: Automatically creates database/database.sqlite and sets DB_CONNECTION=sqlite in .env.
  • MySQL: Creates a dedicated database named after your site (e.g. CREATE DATABASE storefront;) and configures DB_DATABASE=storefront.
  • PostgreSQL: Creates a PostgreSQL database and applies local role permissions.