โ† Back to Home

All Features.

Not just a debug tool. Not just a micro-framework. The fastest feedback loop for API developers.

โšก

Build

CRUD scaffolding โ€” php siro make:crud generates model, migration, controller, routes, tests in 2 seconds

CLI API testing โ€” test endpoints from terminal with auto-auth, no Postman or cURL needed

Auto OpenAPI/Swagger docs โ€” generated from validation rules, always in sync

Bash/Zsh tab completion for all CLI commands

PHPStorm IDE helper with autocomplete and inline documentation

๐Ÿ”

Why & Diagnose

api:why <METHOD> <path> โ€” debug specific request by method and path

db:why <hash> [--slow] โ€” EXPLAIN query analysis with index suggestions

Full request tracing โ€” X-Siro-Trace-Id on every response

Log slow queries and endpoints โ€” php siro log:slow --limit=10

๐Ÿ”„

Replay & Debug

Production request replay โ€” restore full context with php siro replay <trace_id>

Diff comparison โ€” --diff compares before/after performance metrics

Edit workflow โ€” --edit opens code in default editor for quick fixes

Env override โ€” --set key=val tests different configurations

Dry-run mode โ€” --dry-run previews without executing (safe in production)

Test generation โ€” --test creates a PHPUnit regression test from trace

๐Ÿ›ก๏ธ

Production Safety

Sensitive data auto-sanitized in logs

Replay lock prevents accidental writes in production

Penetration tested โ€” 42 attack vectors, 0 vulnerabilities

Brute force protection โ€” auto lockout after 5 failed attempts

JWT auth, rate limiting, CSRF protection built in

๐Ÿ“Š

Logging & Monitoring

Realtime log tailing โ€” php siro log:tail -f

Top slow requests โ€” php siro log:top --limit=N

Request statistics โ€” php siro log:stats --days=N

Log cleanup โ€” php siro log:cleanup --days=N [--dry-run]

Export to JSON or Postman format (--format=postman)

Health check โ€” php siro debug:health

๐Ÿ“ฆ

Infrastructure

Queue system โ€” queue:work, queue:retry, queue:flush, queue:status

Environment management โ€” env:check, env:switch, 5-tier priority chain

Route management โ€” route:list, route:search, route:rules

Migration tools โ€” migrate:reset, migrate:refresh --seed

Maintenance mode โ€” php siro down / up

Production readiness check โ€” php siro doctor --prod

๐Ÿชถ

Performance

~1ms cold boot (Linux+OPcache) / ~8ms (Windows, no OPcache)

~16KB RAM per request โ€” framework ~0.5MB base memory, zero overhead on peak

~239K routes/sec static โ€” 14,971 ops/sec dynamic

Minimal dependencies โ€” no supply chain risk

FrankenPHP support โ€” production Docker images included

๐Ÿงช

Testing & Regression

make:test --from-trace=<id> โ€” auto-generate PHPUnit test from real trace

test:regression [--limit=N] [--fail] โ€” replay traces, detect regressions

Run tests โ€” php siro test [--filter] [--coverage]

19,496 tests, 100% pass rate

PHPStan Level Max with baseline

Ready to Build?

Switch from guessing to knowing.