<commit_before>banana
======

Banana: The PHP framework that rocks<commit_msg>Minimal documentation<commit_after>banana
======

Banana: The PHP framework that rocks

Banana is in active development for a personal project.
This is the 0.0.1 version.

Installation
------------

Clone for fork the repos or download the zip. That's all.

Using
-----

Create two files: `index.php` and `configuration.php`.

Example for `index.php`:

```php

<?php

include_once 'banana/banana.php';

with(new BananaRouter(), function($route) {
    // the url is a regular expression. The closure function must return
    // a string.
    $route->addRoute('/^\/$/', function() {
        return 'Hello world !!';
    });

    // Do the job
    $route->process();
});

// Do not close the php
```

Example for `configuration.php`:

```php
<?php

with(BananaConfig::getInstance(), function($conf) {
    $conf->templatesDir = array(
        BASE_DIR . 'templates'
    );
});

```

I will try to improve the documentation.
{'fraction_non_alphanumeric': 0.15646940822467403, 'fraction_numerical': 0.003009027081243731, 'mean_word_length': 3.19327731092437, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6550135', 'n_tokens_mistral': 318, 'n_tokens_neox': 300, 'n_words': 102}