CLI Tool (Frame)

Powerful command-line tool for rapid development:

Available Commands

Command Description Example
make:controller Create a new controller php frame make:controller ProductController
make:model Create a new model php frame make:model Product
make:view Create a new view php frame make:view products/index
make:migration Create a database migration php frame make:migration create_products_table
migrate Run all pending migrations php frame migrate
migrate:rollback Rollback last migration batch php frame migrate:rollback
route:list Display all registered routes php frame route:list
serve Start development server php frame serve 8080
cache:clear Clear application cache php frame cache:clear

Example Workflow

# 1. Create migration
php frame make:migration create_products_table

# 2. Edit migration file, then run
php frame migrate

# 3. Create model
php frame make:model Product

# 4. Create controller
php frame make:controller ProductController

# 5. Create views
php frame make:view products/index
php frame make:view products/create

# 6. Add routes to app/routes/web.php

# 7. Verify routes
php frame route:list

# 8. Start server
php frame serve