Skip to content

CLI Commands

All commands require the -d variables_order=EGPCS flag:

php -d variables_order=EGPCS bin/console <command>

Maintenance

Command Description
app:api-log:purge Delete API logs older than 30 days
app:monitor-outbound-queue Monitor stuck/failed outbound queue items
app:process-outbound-queue Process pending outbound queue items
app:retry-failed-queue Retry failed queue items

User Management

Command Description
app:user:create Create a new user interactively
app:user:list List all users
app:user:verify <email> Mark a user as verified
app:user:delete <email> Delete a user
app:user:promote <email> <role> Add a role to a user
app:user:demote <email> <role> Remove a role from a user
app:user:change-password <email> Change a user's password

Standard Symfony Commands

bin/console cache:clear                    # Clear cache
bin/console doctrine:migrations:migrate    # Run migrations
bin/console doctrine:fixtures:load         # Load test fixtures
bin/console messenger:consume async        # Process message queue