aeros, allows you to scaffold code, manage your database, run the application, and perform various development tasks.
The Aeros REPL
The REPL (Read-Eval-Print Loop) is the entry point for all CLI commands. It’s a PHP script located at the root of your Aeros project.Starting the REPL
Getting Help
Get detailed information about any command using the--help flag:
All Aeros CLI commands are powered by Symfony Console. Learn more in the Symfony Console documentation.
Available Command Categories
Aeros CLI commands are organized into several categories:Make Commands
Scaffold controllers, models, migrations, and more
Database Commands
Manage migrations, seeders, and database setup
Cache Commands
Clear and manage cache connections
Run Commands
Start the application, workers, and cron scheduler
Command Structure
Aeros commands follow a consistent pattern:Arguments
Arguments are required or optional values passed to commands:Options
Options modify command behavior and are prefixed with-- or -:
Run Commands
Commands for starting and managing your application:run:app
Starts the application with environment setup, database checks, migrations, cache validation, and worker initialization.-p, --production- Run in production environment-s, --staging- Run in staging environment-d, --development- Run in development environment (default)
scheduler
Runs all scheduled cron jobs. This command is typically called from the system crontab:run:worker
Starts queue workers to process background jobs:workers- Space-separated list of specific workers to run
-a, --all- Start all registered workers--stop- Stop running workers
run:cron
Manually runs a specific cron job or all cron jobs:name- Optional name of a specific cron job to run
-a, --all- Run all scheduled cron jobs
Creating Custom Commands
You can create your own CLI commands usingmake:command:
app/commands/ that you can customize. See Make Commands for more details.
Next Steps
Scaffolding Commands
Learn about make:* commands for code generation
Database Management
Explore migration and seeding commands