Download the PHP package carvephp/carve without Composer
On this page you can find all versions of the php package carvephp/carve. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download carvephp/carve
More information about carvephp/carve
Files in carvephp/carve
Package carve
Short Description Find service boundaries in Laravel monoliths using static analysis + runtime tracing.
License MIT
Homepage https://github.com/Muhammad-Waleed-Khalil/CarvePHP
Informations about the package carve
CarvePHP
Find service boundaries in Laravel monoliths using static analysis + runtime tracing.
CarvePHP is a Laravel-first toolkit that analyzes your existing monolith and produces actionable migration reports. It combines static code analysis with runtime tracing to identify service boundaries with evidence.
Status: v0.1.2-alpha — Preview release. Ready for experimentation and feedback. Not yet production-ready for automatic extraction.
Latest alpha: v0.1.2-alpha
Installation
After installing, publish the config and run the environment check:
Quickstart
For better results, enable runtime tracing (optional):
Sample report snippet:
What It Does Today
| Feature | Status |
|---|---|
| Static scan (routes, controllers, models, migrations, raw SQL) | ✅ |
| Runtime tracing middleware (HTTP + queue + query events) | ✅ |
| Dependency graph builder (static + trace merge) | ✅ |
| Table affinity clustering for boundary detection | ✅ |
| Comprehensive Markdown migration report | ✅ |
| Environment doctor command | ✅ |
| JSONL + database trace stores | ✅ |
What It Does Not Do (Yet)
| Feature | Status |
|---|---|
| Automatic service generation | ❌ (planned for v0.2–v0.3) |
| One-command microservice extraction | ❌ (you stay in control) |
| Database splitting automation | ❌ (manual after report) |
| Production-ready extraction workflow | ❌ (v1.0 target) |
| Shadow / diff mode for extraction validation | 🔄 (experimental stub) |
Requirements
- PHP 8.2+
- Laravel 11, 12, or 13
- Composer 2.x
Commands
| Command | Description |
|---|---|
carve:install |
Publish config and migrations |
carve:doctor |
Check environment readiness |
carve:scan |
Run static analysis on the monolith |
carve:trace-install |
Guide runtime tracing setup |
carve:analyze |
Build dependency graph from static scan + traces |
carve:boundaries |
Detect candidate service boundaries |
carve:report |
Generate comprehensive migration report |
carve:generate-service |
Generate service stub (experimental) |
carve:generate-openapi |
Generate OpenAPI stub (experimental) |
carve:generate-client |
Generate client SDK stub (experimental) |
carve:shadow |
Shadow traffic/diff support (experimental) |
carve:diff |
Compare saved shadow responses (experimental) |
Architecture
Contributing
See CONTRIBUTING.md.
Security
See SECURITY.md.
License
MIT — see LICENSE for details.
All versions of carve with dependencies
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/routing Version ^11.0|^12.0|^13.0
illuminate/database Version ^11.0|^12.0|^13.0
nikic/php-parser Version ^5.0