dbp/relay-mono-connector-payunity-bundle
Bundle suffix and Relay’s Symfony roots), but Laravel can use it via Symfony’s Bridge (symfony/flex, symfony/console).ContainerAware services).Guzzle, Illuminate\Http). However, this defeats the purpose of using the bundle.Events/Listeners. Will adapters be needed?HttpKernel (for API routes).Symfony\Bridge\Laravel\ServiceProvider).illuminate/support to wrap Symfony services (e.g., ContainerInterface → Laravel’s Container).Http client (Guzzle under the hood).Events for webhooks.Service Providers for configuration.| Scenario | Approach | Effort | Risk |
|---|---|---|---|
| Relay is already used | Direct bundle integration | Low | Medium (PayUnity shutdown) |
| Relay is not used, but PayUnity is mandatory | Fork + rewrite for Laravel | High | High (maintenance burden) |
| PayUnity is optional | Replace with Stripe/PayPal SDK | Medium | Low |
| Legacy system dependency | Isolate bundle in a microservice | High | Medium (coupling) |
composer.json for required PHP version (likely 8.0+).Illuminate\Contracts\Container\Container).payments table).Route::post('/payunity/webhook') can be used, but signature verification must match PayUnity’s specs.App\Providers\PayUnityServiceProvider).VCR or Pest).php artisan payunity:webhook-test).composer.json for outdated Symfony/Laravel packages.Retry package).monolog is configured for PayUnity-related errors.Illuminate\Cache) for rate-limited endpoints.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| PayUnity API downtime | Payment failures | Fallback to alternative provider (e.g., Stripe). |
| Webhook delivery failures | Inconsistent state | Use Laravel Queues + retries. |
| Relay API Gateway failure | Connector unavailability | Direct API calls as fallback. |
| PayUnity shutdown | Broken payments | Pre-built migration to new provider. |
| AGPL compliance issue | Legal risk | Fork under MIT or negotiate |
How can I help you explore Laravel packages today?