islandora/crayfish-commons
Shared PHP 8+ library for Islandora Crayfish microservices. Provides common Symfony bundle utilities such as ApixMiddleware and command execution services, with simple configuration for Fedora base URI and AP-IX middleware support.
| Risk Area | Likelihood | Mitigation Strategy | Update (4.1.0) |
|---|---|---|---|
| Namespace Collisions | High | Use alias in config/app.php or PSR-4 autoloading. |
No change |
| Dependency Conflicts | Medium | Isolate via replace or custom vendor dir. |
PHP 8.0+ required (check Laravel version). |
| Tight Coupling | High | Enforce interface contracts. | No change |
| Event System Mismatch | Medium | Use Laravel Events/Listeners. | No change |
| Testing Overhead | High | Mock interfaces. | No change |
| PHP Version Risk | Medium | New: Ensure Laravel runs PHP 8.1+. | Added |
crayfish-commons?
http-client).| Component | Laravel Equivalent | Integration Strategy | Update (4.1.0) |
|---|---|---|---|
| Logging | Monolog | Bind Crayfish\Logger. |
No change |
| Validation | Illuminate\Validation | Facade wrapper. | No change |
| HTTP Clients | Guzzle | Replace Symfony client. | No change |
| Events | Laravel Events | Map to listeners. | No change |
| Database Models | Eloquent | Abstract repositories. | No change |
| Middleware | Laravel Middleware | Wrap Crayfish middleware. | No change |
| PHP Version | Laravel 9.x+ (PHP 8.1+) | Ensure compatibility. | Added |
php: in .platform.sh/docker.crayfish-commons:^4.1 in composer.json.| Failure Scenario | Impact | Mitigation | Update (4.1.0) |
|---|---|---|---|
| Crayfish Package Deprecation | Broken dependencies | Fork critical components. | No change |
| Namespace Collisions | Runtime errors | Use alias. |
No change |
| Event System Mismatch | Silent failures | Dead-letter queues. | No change |
| Dependency Vulnerabilities | Security risks | composer audit. |
No change |
| Performance Bottlenecks | Slow responses | Cache API calls. | PHP 8.1 may help |
| PHP Version Incompatibility | Integration failure | Upgrade Laravel to PHP 8.1+. | Added |
How can I help you explore Laravel packages today?