Download the PHP package lipit146/filesystem-sirv without Composer
On this page you can find all versions of the php package lipit146/filesystem-sirv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lipit146/filesystem-sirv
More information about lipit146/filesystem-sirv
Files in lipit146/filesystem-sirv
Package filesystem-sirv
Short Description A Laravel filesystem driver for Sirv Images
License MIT
Informations about the package filesystem-sirv
Sirv Images Filesystem Driver
This package provides a filesystem driver for Sirv Images. If you need more control or want to want to implement more Sirv API endpoints have a look at our Laravel wrapper for Sirv which is also used by this packages.
The full documentation of the Sirv Images API can be found here.
Requirements
- PHP >= 8.0
- Laravel >= 9.0
Installation
To start using the package, you need to install it via Composer:
Laravel version compatibility
Laravel version | Laravel Cloudflare version |
---|---|
8.x | 1.x |
Service Provider
Add the package service provider in your config/app.php
Publish package assets
Publish the package asset files using this php artisan
command
Confuguration
Add the following to your config/filesystems.php file:
Add the following environment variables to your .env file:
If you did not have our Laravel-Sirv wrapper yet you also need to add the following environment variables to your .env file:
Getting started
The Sirv Images filesystem driver can be used as you would use another filesystem driver. The documentation for the Laravel filesystem can be found here.
The following example shows how to use the Sirv Images filesystem driver to store a file.
Notes
Sirv Images doesnot support directories so not all filesystem methods are available. The following methods are supported:
get
put
delete
directories
The following methods are not supported:
files
allFiles
allDirectories
createDirectory
deleteDirectory
fileExists
url
copy
rename
visibility
The following methods still need to be implemented:
setVisibility
getVisibility
Security Vulnerabilities
If you discover a security vulnerability within this project, please email me via [email protected].
Official Website
- https://sirv.com - Image CDN: Image Optimization, Processing & Hosting • Sirv
- https://sirv.com/help/articles/s3-api/php-sdk-for-sirv-s3/ - PHP SDK for Sirv S3
All versions of filesystem-sirv with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0