Getting Started
The CLI tool is accessed through therawr file in your project root:
The rawr CLI is designed for rapid development with zero configuration required. All commands work out of the box.
Available Commands
Server Management
serve
Start the development server with PHP built-in server
serve --port
Start server on custom port (default: 8000)
Code Generation
make:controller
Create a new controller class
make:model
Create a new model class
make:migration
Create a new database migration
make:auth
Generate authentication scaffolding
make:dash
Create an admin dashboard controller
Database Management
migrate
Run pending database migrations
migrate:rollback
Rollback the last migration batch
migrate:status
Show migration status
Command Structure
All Lyger CLI commands follow a consistent structure:The action to perform (e.g.,
serve, make:controller, migrate)The name of the resource to create (for make commands)
Additional flags to modify command behavior (e.g.,
--migration, --port=8080)Common Options
Port Configuration
Many commands support custom port configuration:Migration Flag
When creating models, you can automatically generate a migration:Quick Examples
Help Command
To see all available commands, run rawr without arguments:This displays the help menu with a complete list of commands and their descriptions.
Next Steps
Server Commands
Learn how to start and configure the development server
Code Generation
Explore scaffolding commands for rapid development
Database Migrations
Manage your database schema with migrations
Authentication
Set up authentication in minutes