Download the PHP package appitudeio/lcms-storage without Composer
On this page you can find all versions of the php package appitudeio/lcms-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package lcms-storage
LCMS Storage - PHP SDK
Official PHP SDK for LCMS Storage - Asset management and CDN platform.
Features
- Upload files to LCMS Storage with automatic S3 integration
- Delete assets from storage
- List directory contents
- Generate asset URLs with automatic CDN delivery
- Transform images on-the-fly with URL parameters (resize, format conversion)
- Type-safe with PHP 8.1+ features
- Minimal dependencies (Guzzle HTTP client only)
Requirements
- PHP 8.1 or higher
- Composer
Installation
Quick Start
API Reference
Constructor
Initialize the LCMS Storage client with your domain and API key.
upload()
Upload a file to LCMS Storage.
Example:
delete()
Delete a file from LCMS Storage.
Example:
list()
List contents of a directory.
Example:
Response Objects
UploadResponse
Properties:
bool $success- Whether upload was successfulstring $message- Success or error messagearray $url- Contains 'asset' and 'upload' URLs
Methods:
toArray(): arraytoJson(int $options = 0): string
ListResponse
Properties:
bool $success- Whether the operation was successfulstring $message- Success or error messagestring $path- Directory path that was listedstring $assetBaseUrl- Base URL for accessing assetsarray $items- Array of file items with 'key', 'size', 'url', etc.array $prefixes- Array of subdirectory prefixes
Methods:
count(): int- Number of itemsisEmpty(): bool- Whether directory is emptytoArray(): arraytoJson(int $options = 0): string
Error Handling
License
MIT License - see LICENSE file for details.
Support
For issues and questions:
- GitHub Issues: lcms-storage-php/issues
- Email: [email protected]
Related
All versions of lcms-storage with dependencies
PHP Build Version
Package Version
The package appitudeio/lcms-storage contains the following files
Loading the files please wait ...