CLI
Antares ships with a small CLI at bin/antares for scaffolding, migrations, and cache management.
Generator Commands
Section titled “Generator Commands”php bin/antares make:controller UserControllerphp bin/antares make:dto CreateUserRequestphp bin/antares make:response UserResponsephp bin/antares make:middleware AuthMiddlewarephp bin/antares make:guard JwtGuardphp bin/antares make:migration create_users_tableEach command creates a file in the appropriate subdirectory with the correct namespace, imports, and stub implementation.
Migration Commands
Section titled “Migration Commands”php bin/antares migratephp bin/antares migrate:rollbackmigrate runs all pending migrations in database/migrations/. migrate:rollback rolls back the last batch in reverse order. See Migrations for details.
Cache Commands
Section titled “Cache Commands”php bin/antares cache:clearDeletes the compiled route cache (storage/cache/routes.php) and the fingerprint file (storage/cache/fingerprint). The cache is rebuilt on the next request.