Download the PHP package php-collective/file-storage without Composer
On this page you can find all versions of the php package php-collective/file-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-collective/file-storage
More information about php-collective/file-storage
Files in php-collective/file-storage
Informations about the package file-storage
File Storage
A framework agnostic file storage system.
Dealing with uploads, storing and managing the files has been very often painful and cumbersome. This library tries to make this more easy and convenient for you - no matter what framework you are using.
This library is pretty much the same as these plugins for Laravel, Yii and Cake, but not tied to any framework or ORM and less tight coupled.
Features
- Store files on almost everything: Local disk, Amazon S3, Dropbox... and many more through the fantastic league/flysystem library.
- Framework-agnostic
- Image processing (optional feature / dependency)
- Image optimization (optional feature / dependency)
- Content addressed paths: files with the same content hash can share one stored file, see Path Builders
- Provides factories for the adapters
- As lite as possible on dependencies
Installation
Documentation
Please start by reading docs/ in this repository.
Example
Take a look at example.php or even run it:
The example should give you an exhaustive overview of the library.
All versions of file-storage with dependencies
ext-fileinfo Version *
ext-json Version *
ext-mbstring Version *
php-collective/file-storage-factories Version ^1.0.0
psr/http-message Version ^1.0 || ^2.0