Download the PHP package community-sdks/laravel-cloud-laravel without Composer
On this page you can find all versions of the php package community-sdks/laravel-cloud-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download community-sdks/laravel-cloud-laravel
More information about community-sdks/laravel-cloud-laravel
Files in community-sdks/laravel-cloud-laravel
Package laravel-cloud-laravel
Short Description A simple Laravel wrapper for the Community SDKs Laravel Cloud PHP client.
License MIT
Informations about the package laravel-cloud-laravel
Laravel Cloud Laravel
A small Laravel wrapper for community-sdks/laravel-cloud-php. It registers the typed SDK client in Laravel's container and provides a facade.
This is a community-maintained project and is not an official Laravel package.
Requirements
- PHP 8.3+
- Laravel 11, 12, or 13
Installation
Add your Laravel Cloud API token to .env:
The service provider and facade alias are discovered automatically. To publish the optional configuration file:
Usage
Use the facade to access any service exposed by the underlying SDK:
Or inject the SDK client directly:
For request DTOs, response types, and supported endpoints, see the PHP SDK documentation.
Configuration
The wrapper supports these environment variables:
| Variable | Default |
|---|---|
LARAVEL_CLOUD_TOKEN |
required when resolving the client |
LARAVEL_CLOUD_BASE_URI |
https://cloud.laravel.com/api/ |
LARAVEL_CLOUD_TIMEOUT |
30 seconds |
LARAVEL_CLOUD_CONNECT_TIMEOUT |
10 seconds |
Testing
License
MIT
All versions of laravel-cloud-laravel with dependencies
community-sdks/laravel-cloud-php Version ^1.0.1
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0