<commit_before>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.

Actual state
============
This bundle is in alpha state. The first adapters are :

* Local adapter : file system of the server
* S3 adapter : for Amazon Web Service AWS S3

Installation
============
You need to add the following lines in your deps :

    [FileSystemBundle]
        git=git://github.com/kitpages/KitpagesFileSystemBundle.git
        target=Kitpages/FileSystemBundle

Only if you use AmazonS3

    [aws-sdk]
        git=http://github.com/amazonwebservices/aws-sdk-for-php
        target=aws-sdk
        version=1.5.4

AppKernel.php

    $bundles = array(
        ...
        new Kitpages\FileSystemBundle\KitpagesFileSystemBundle(),
    );

// AWS SDK needs a special autoloader

    require_once __DIR__.'/../vendor/aws-sdk/sdk.class.php';
<commit_msg>readme updated<commit_after>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
========

2012-05-24 : v1.0.0
* first stable release

Actual state
============
This bundle is stable. The first adapters are :

* Local adapter : file system of the server
* S3 adapter : for Amazon Web Service AWS S3

Installation
============
You need to add the following lines in your deps :

    [FileSystemBundle]
        git=git://github.com/kitpages/KitpagesFileSystemBundle.git
        target=Kitpages/FileSystemBundle

Only if you use AmazonS3

    [aws-sdk]
        git=http://github.com/amazonwebservices/aws-sdk-for-php
        target=aws-sdk
        version=1.5.4

AppKernel.php

    $bundles = array(
        ...
        new Kitpages\FileSystemBundle\KitpagesFileSystemBundle(),
    );

// AWS SDK needs a special autoloader

    require_once __DIR__.'/../vendor/aws-sdk/sdk.class.php';

{'fraction_non_alphanumeric': 0.10087082728592163, 'fraction_numerical': 0.01269956458635704, 'mean_word_length': 3.5270935960591134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2664358', 'n_tokens_mistral': 805, 'n_tokens_neox': 759, 'n_words': 303}