/cakephp-file-storage

Abstract file storage and upload plugin for CakePHP. Write to local disk, FTP, S3, Dropbox and more through a single interface.

Primary LanguagePHPMIT LicenseMIT

FileStorage plugin for CakePHP 2.x

The File Storage plugin is giving you the possibility to 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.

  • Apc
  • Amazon S3
  • ACL Aware Amazon S3
  • Azure
  • Doctrine DBAL
  • Dropbox
  • Ftp
  • Grid FS
  • In Memory
  • Local File System
  • MogileFS
  • Open Cloud
  • Rackspace Cloudfiles
  • Sftp
  • Zip File

Requirements

  • CakePHP 2.0+
  • PHP 5.3+
  • Gaufrette Library (included as git submodule or composer dependency)

Optional but required for image processing:

Documentation

For documentation, as well as tutorials, see the Docs directory of this repository.

Support

For bugs and feature requests, please use the issues section of this repository.

Contributing

To contribute to this plugin please follow a few basic rules.

License

Copyright 2012 - 2014, Florian Krämer

Licensed under The MIT License Redistributions of files must retain the above copyright notice.

Credits

Thanks to Larry Masters and the CakeDC for the chance to work with a great team and Jitka Koukalová for her excellent advice in programming related questions she gave me some years ago. You guys and girls made me a better programmer!