ske-io/laravel-bridge
ske-io/laravel-bridge is a Laravel integration package that connects an external service or SDK to your application, providing service provider registration, configuration publishing, and a thin adapter layer for calling it from Laravel code.
Architecture fit
ske-io/laravel-bridge is a thin platform-integration layer, not a framework fork: one auto-discovered service provider that adapts Laravel's existing extension points (queue connections, logging, trusted proxies, mail, maintenance mode, filesystem/URL signing, Inertia SSR) to SKE's runtime. That is the right shape — low conceptual surface, idiomatic Laravel, minimal app-code change.Integration feasibility
composer require; service provider auto-discovery means no config/app.php edits. Low integration cost.config/ske.php, SKE_UPLOADS_URL, LARAVEL_ENV_ENCRYPTION_KEY, MAINTENANCE_MODE_SECRET.inertiajs/inertia-laravel not required), so non-Inertia teams get the other features without pulling the dependency. Good packaging hygiene.Technical risk
uploadFiles gate is app-defined — behaviour when the gate is absent or misregistered is a security-relevant unknown..env.{environment}.encrypted decryption happens at boot. A missing/wrong LARAVEL_ENV_ENCRYPTION_KEY is likely a hard start failure rather than a degraded mode. Key custody and rotation need a documented plan.Key questions
uploadFiles gate is undefined or returns a non-boolean?LARAVEL_ENV_ENCRYPTION_KEY is missing, wrong, or rotated — hard fail, or fall back to platform-provided variables?X-Request-Id propagated to queued jobs and outbound calls, or only logs?Stack fit
Migration path
X-Request-Id correlation).ske connection in a non-critical queue first; explicitly decide whether the app keeps a failed_jobs store (recommended) or relies on platform dead-lettering.MAINTENANCE_MODE_SECRET bypass flow.uploadFiles gate is implemented and bucket CORS/policy is verified.Compatibility
aws/aws-sdk-php and inertiajs/inertia-laravel (the latter only if SSR is used), as these are the most likely conflict sources.config/ske.php is publishable and whether the defaults are safe without publishing.Sequencing
composer.json for the first adoption; loosen only after the vendor demonstrates a stable minor-release cadence.Maintenance
Support
LARAVEL_ENV_ENCRYPTION_KEY, toggling maintenance mode with and without the secret, and diagnosing queue dead-letter events.Scaling
Failure modes
| Failure | Expected behaviour | Operational concern |
|---|---|---|
| SSR server slow/unavailable | Falls back to client-side rendering, logged | Silent-ish performance regression; alert on fallback log volume |
| Job throws | Reported via exception handler; recorded in failed_jobs, or dead-lettered if no store |
Without a store, failures leave the app's visibility — prefer keeping failed_jobs |
| Queue timeout | Enforced by Laravel's own worker per the release notes | Confirm value matches job expectations; long jobs may need restructuring |
| Missing/wrong encryption key | Likely boot failure | Highest-severity startup risk; treat key as a tier-0 secret |
| Static AWS keys present | Silently override role credentials | Audit and remove; defeats short-lived credential model |
| Extra proxy in path | Wrong scheme/host/IP | Breaks secure cookies, redirects, rate limits |
| Platform unreachable off-platform | Bridge inactive except uploads | Ensure the upload endpoint fails closed in non-platform environments |
Ramp-up
How can I help you explore Laravel packages today?