php/docs/build/cli/sdk/example.md
Snider 28d004ff61
Some checks failed
CI / PHP 8.4 (push) Failing after 1m54s
CI / PHP 8.3 (push) Failing after 1m58s
feat: replace Go CLI with PHP framework
Go CLI commands moved to core/go-php. This repo now contains
the Laravel modular monolith framework (previously php-framework).

- Remove all Go files (now in core/go-php)
- Add PHP framework: event-driven module loading, lifecycle events
- Composer package: core/php
- core/php-framework remains as-is for backward compat

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 08:49:51 +00:00

458 B

SDK Examples

Validate

core sdk validate
core sdk validate --spec ./api.yaml

Diff

# Compare with tag
core sdk diff --base v1.0.0

# Compare files
core sdk diff --base ./old-api.yaml --spec ./new-api.yaml

Output

Breaking changes detected:

- DELETE /users/{id}/profile
  Endpoint removed

- PATCH /users/{id}
  Required field 'email' added

Non-breaking changes:

+ POST /users/{id}/avatar
  New endpoint added