Download the PHP package kitpages/file-system-bundle without Composer
On this page you can find all versions of the php package kitpages/file-system-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kitpages/file-system-bundle
More information about kitpages/file-system-bundle
Files in kitpages/file-system-bundle
Package file-system-bundle
Short Description Symfony Kitpages FileSystem Bundle. Abstraction layer for files (local, S3)
License BSD
Homepage https://github.com/kitpages/KitpagesFileSystemBundle
Informations about the package file-system-bundle
KitpagesFileSystemBundle
This is a Symfony2 bundle that provides a filesystem abstraction layer. Basicaly this does the same as the gaufrette library from KnpLabs, but it manages much more efficiently big files. We can manage a 2GB file with a memory limit of 128Mo for the PHP process. We never transfert the entire content in a $content variable.
With this bundle you can save your files on different filesystems (S3, Local filesystem, FTP,...)
Some elements of the configuration system are based on the code of the KnpGaufretteBundle.
Versions
2019-01-23 : v4.0.0
- [new] upgrade to Symfony 2.8, 3.x, 4.x
- [doc] best doc for tests
2018-05-16 : v3.2.1
- [fix] url of the file in the flysystem system for swift
- [fix] fix pb when the file doesn't exist in flysystem adapter
- [fix] fix mime type problem in flysystem adapter
2018-05-15 : v3.2.0
- [new] integration with flysystem
Lot of doc is missing here...
2012-05-24 : v1.0.0
- first stable release
Actual state
This bundle is stable. The adapters are :
- Local adapter : file system of the server
- S3 adapter : for Amazon Web Service AWS S3
- FTP adapter : for FTP access
- FlySystem adapater : for a link to flysystem
Installation
You need to add the following lines in your deps :
Using Composer, just $ composer require kitpages/file-system-bundle
package or:
Only if you use AmazonS3
Only if you use Flysystem
AppKernel.php
// AWS SDK needs a special autoloader
Configuration example
The following configuration defines 3 filesystems :
- kitpagesFile : a local filesystem
- kitpagesAmazon : a filesystem on Amazon S3
- kitpagesFlysystem : another filesystem abstraction
Let's see the configuration in config.yml