ske-io / laravel-bridge
Runs a Laravel application on SKE: HTTP, queue and console
Requires
- php: ^8.3
- illuminate/container: ^11.0 || ^12.0 || ^13.0
- illuminate/contracts: ^11.0 || ^12.0 || ^13.0
- illuminate/http: ^11.0 || ^12.0 || ^13.0
- illuminate/log: ^11.0 || ^12.0 || ^13.0
- illuminate/queue: ^11.0 || ^12.0 || ^13.0
- illuminate/support: ^11.0 || ^12.0 || ^13.0
Requires (Dev)
- laravel/framework: ^11.0 || ^12.0 || ^13.0
- laravel/pint: ^1.27
- pestphp/pest: ^4.7
- phpstan/phpstan: ^2.0
- phpstan/phpstan-mockery: ^2.0
Suggests
- aws/aws-sdk-php: Required on AWS for the default ske queue connection, which sends jobs to SQS.
- inertiajs/inertia-laravel: Required only for applications opting into Inertia SSR.
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-10-17 10:57:54 UTC
README
ske-io/laravel-bridge runs a Laravel application on SKE, which deploys it into your own AWS or GCP account. It connects the application's HTTP requests, queued jobs, commands and scheduler to the platform.
Requirements
- PHP 8.3 or later
- Laravel 11, 12 or 13
Installation
composer require ske-io/laravel-bridge
Laravel discovers the service provider, so there is nothing to register or configure. Off the platform the bridge stays inactive, apart from the upload endpoint, so the same application runs locally as before.
On AWS, the platform's queue connection sends jobs to SQS through the AWS SDK, which the bridge doesn't require. Install it if the application doesn't have it yet:
composer require aws/aws-sdk-php
What it does on the platform
- Queues: adds the
skequeue connection (SQS on AWS, Cloud Tasks on GCP) and runs the jobs the platform delivers, recording failures in the application's failed jobs store. - Logs: writes logs to stderr, one JSON line per record, so the platform's log viewer shows level, message, context and exception.
- Proxies: trusts the platform's load balancer, so the request's scheme, host and client address are the real ones.
- AWS credentials: lets the AWS SDK use the function role's temporary credentials. A key pair the application sets itself still wins.
- Mail: sends SES mail from the region of the mail provider linked to the environment.
- Maintenance mode: follows the maintenance mode set in the SKE dashboard. See Maintenance mode.
- Encrypted environment file: loads the environment's
.env.{environment}.encryptedwhen its key is set. See Encrypted environment file. - Inertia SSR: when SSR is turned on for the environment, sends Inertia's render calls to the platform's SSR server. This needs
inertiajs/inertia-laravel.
Documentation
Development
composer install vendor/bin/pint --test vendor/bin/phpstan analyse vendor/bin/pest
License
The MIT License. See LICENSE.