Illuminate\Filesystem) or cache (Illuminate\Cache) for performance.filesystem.updated) or observers for downstream actions (e.g., notifications, cache invalidation).composer require installation with minimal Laravel-specific bootstrapping (e.g., registering service providers).fractor/php) may introduce conflicts with Laravel’s own PHP parsers (e.g., php-parser). Risk: Medium if plugins overlap with Laravel’s built-in tools (e.g., Blade templating).fractor/php), which may lack Laravel-specific optimizations.Storage facade supports this, but plugin behavior is unknown.bootstrap/cache)?Monolog)?php artisan fractor:refactor).Fractor core and plugins as Laravel services for dependency injection.RefactoringStarted, RefactoringFailed) to integrate with Laravel’s ecosystem (e.g., notifications, analytics).Storage facade to standardize filesystem operations (e.g., storage_path(), public_path()).Illuminate\Filesystem\Filesystem for cross-platform path handling.fractor/php).git push → Run Fractor → Run tests → Deploy
Vendor\Fractor\).symfony/console, track Laravel’s Symfony version alignment.dd(), exception pages).logs/ directory and surface them via Slack/email alerts.app/ directory may time out.
ignore_user_abort() or queue workers.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Plugin crashes during refactor | Corrupted files, broken builds | Backup files before refactoring; use Git. |
| Permission denied on filesystem | Refactoring halts | Run Artisan with sudo or adjust storage permissions. |
| Dependency conflicts | Laravel app fails to load | Isolate Fractor plugins in a separate namespace. |
| Network timeout (if cloud-based) | Async jobs fail | Implement retry logic with exponential backoff. |
| Human error (wrong CLI args) | Accidental data loss | Dry-run flag (--dry-run) and confirmation prompts. |
How can I help you explore Laravel packages today?