Download the PHP package artisan-build/laravel-cloud-client without Composer
On this page you can find all versions of the php package artisan-build/laravel-cloud-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download artisan-build/laravel-cloud-client
More information about artisan-build/laravel-cloud-client
Files in artisan-build/laravel-cloud-client
Package laravel-cloud-client
Short Description A complete PHP SDK for the Laravel Cloud API
License MIT
Informations about the package laravel-cloud-client
Laravel Cloud Client
A complete PHP SDK for the Laravel Cloud API built with Saloon 3.x.
Installation
Configuration
Publish the configuration file:
Set your API token in your .env file:
Usage
Using the Facade
Using Dependency Injection
Standalone Usage
Available Resources
Applications
Environments
Deployments
Instances
Domains
Database Clusters
Background Processes
Commands
Object Storage
Caches
Known Unverified SDK Surfaces
These methods remain available for legacy or undocumented compatibility, but no published Laravel Cloud operation corresponds to their current calls. Do not rely on them for new provisioning work without live API verification.
Request bodies, documented enum values, and covered JSON:API response fixtures have been reconciled against the published OpenAPI for the spec-verified surfaces. Methods listed below remain undocumented compatibility surfaces and should not be treated as API conformance.
environments()->listVariables()andenvironments()->updateVariable(): no published list/update operations exist. The published environment-variable operations areadd-environment-variablesanddelete-environment-variables; the SDK's current list/update methods do not correspond to those operations.commands()->output()andcommands()->cancel(): no published output or cancel operations exist. The published command operations arelist-commands,run-command, andget-command; pollget-commandfor command state/output.caches()->flush(): no dedicated cache-resource flush operation exists. The published purge edge cache operation is environment-level and is a different operation.databaseClusters()->listUsers(),databaseClusters()->createUser(), anddatabaseClusters()->deleteUser(): no published database-user API exists. Published database operations cover clusters, databases, snapshots, and restores.domains()->getSslStatus(): no published SSL-certificate-status operation exists. Published domain operations manage domains themselves.backgroundProcesses()->restart(): no published background-process restart operation exists.deployments()->cancel(): no published deployment cancel operation exists.environments()->refresh(): no published environment refresh operation exists.instances()->restart(): no published instance restart operation exists.
Artisan Commands
The package includes CLI commands for common operations:
Error Handling
Enums
The SDK provides type-safe enums:
Testing
OpenAPI Spec
The SDK vendors Laravel Cloud's OpenAPI document at resources/api-spec/api.json. Contract tests read this local copy only, so CI is deterministic and never fetches the spec during the gate.
Refresh the vendored document deliberately when adopting upstream API changes:
Review and commit the resulting resources/api-spec/api.json diff with the SDK changes it requires.
Code Quality
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-cloud-client with dependencies
saloonphp/saloon Version ^4.0
illuminate/support Version ^11.0|^12.0|^13.0