FileStorage Plugin for CakePHP 2.x and 3.x
The File Storage plugin is giving you the possibility to upload and store files in virtually any kind of storage backend. This plugin is wrapping the Gaufrette library in a CakePHP fashion and provides a simple way to use the storage adapters through the StorageManager class.
Storage adapters are an unified interface that allow you to store file data to your local file system, in memory, in a database or into a zip file and remote systems. There is a database table keeping track of what you stored where. You can always write your own adapter or extend and overload existing ones.
If you're upgrading from CakePHP 2.x please read the migration guide.
List of supported Adapters
- Amazon S3
- ACL Aware Amazon S3
- Doctrine DBAL
- Grid FS
- In Memory
- Local File System
- Open Cloud
- Rackspace Cloudfiles
- Zip File
- PHP 5.4+
- CakePHP 3.0
- Gaufrette Library (included as composer dependency)
Optional but required for image processing:
- The Imagine Image processing plugin if you want to process and storag images.
For documentation, as well as tutorials, see the docs directory of this repository.
For bugs and feature requests, please use the issues section of this repository.
To contribute to this plugin please follow a few basic rules.
- Pull requests must be send to the
- Contributions must follow the PSR2-R coding standard recommendation.
- Unit tests are required.
Copyright 2012 - 2015, Florian Krämer
Licensed under The MIT License Redistributions of files must retain the above copyright notice.