<commit_before># Introducing [KunstmaanMediaBundle][KunstmaanMediaBundle]

De [KunstmaanMediaBundle][KunstmaanMediaBundle] is a symfony2 bundle used at [Kunstmaan][kunstmaan] to handle media, and media galleries. It has objects to handle files, slides, videos and images and keeps them organised in galleries.

# Installing [KunstmaanMediaBundle][KunstmaanMediaBundle]

## Add to your deps file:

```bash
[KunstmaanMediaBundle]
    git=<EMAIL>:Kunstmaan/KunstmaanMediaBundle.git
    target=bundles/Kunstmaan/MediaBundle
```

## Dependencies:

```bash
[KunstmaanAdminBundle]
    git=
    target=

[Imagine]
    git=git://github.com/avalanche123/Imagine.git
    target=/Imagine

[AvalancheImagineBundle]
    git=http://github.com/avalanche123/AvalancheImagineBundle.git
    target=bundles/Avalanche/Bundle/ImagineBundle

[gaufrette]
    git=git://github.com/knplabs/Gaufrette.git
    target=/gaufrette

[KnpGaufretteBundle]
    git=http://github.com/knplabs/KnpGaufretteBundle.git
    target=/bundles/Knp/GaufretteBundle
```

## Add to appkernel.php:

```bash
$bundles = array(
            ...
            new Kunstmaan\MediaBundle\KunstmaanMediaBundle(),
            ...
        );
```

## Add to autoload.php:

```bash
$loader->registerNamespaces(array(
    ...
    'Kunstmaan'        => __DIR__.'/../vendor/bundles',
    ...
));
```

## Add to config.yml:

```bash<commit_msg>info about adding imagine + gaufrette in appkernel and autoload<commit_after># Introducing [KunstmaanMediaBundle][KunstmaanMediaBundle]

De [KunstmaanMediaBundle][KunstmaanMediaBundle] is a symfony2 bundle used at [Kunstmaan][kunstmaan] to handle media, and media galleries. It has objects to handle files, slides, videos and images and keeps them organised in galleries.

# Installing [KunstmaanMediaBundle][KunstmaanMediaBundle]

## Add to your deps file:

```bash
[KunstmaanMediaBundle]
    git=<EMAIL>:Kunstmaan/KunstmaanMediaBundle.git
    target=bundles/Kunstmaan/MediaBundle
```

## Dependencies:

```bash
[KunstmaanAdminBundle]
    git=
    target=

[Imagine]
    git=git://github.com/avalanche123/Imagine.git
    target=/Imagine

[AvalancheImagineBundle]
    git=http://github.com/avalanche123/AvalancheImagineBundle.git
    target=bundles/Avalanche/Bundle/ImagineBundle

[gaufrette]
    git=git://github.com/knplabs/Gaufrette.git
    target=/gaufrette

[KnpGaufretteBundle]
    git=http://github.com/knplabs/KnpGaufretteBundle.git
    target=/bundles/Knp/GaufretteBundle
```

## Add to appkernel.php:

```bash
$bundles = array(
            ...
            new Avalanche\Bundle\ImagineBundle\AvalancheImagineBundle(),
            new Kunstmaan\MediaBundle\KunstmaanMediaBundle(),
            ...
        );
```

## Add to autoload.php:

```bash
$loader->registerNamespaces(array(
    ...
    'Imagine'          => __DIR__.'/../vendor/Imagine/lib',
    'Avalanche'        => __DIR__.'/../vendor/bundles',
    'Gaufrette'        => __DIR__.'/../vendor/gaufrette/src',
    'Kunstmaan'        => __DIR__.'/../vendor/bundles',
    ...
));
```

## Add to config.yml:

```bash
{'fraction_non_alphanumeric': 0.1342062193126023, 'fraction_numerical': 0.004582651391162029, 'mean_word_length': 3.5954887218045113, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '7230973', 'n_tokens_mistral': 1120, 'n_tokens_neox': 1062, 'n_words': 177}