<commit_before>Enlighten Documentation
=====================================

.. toctree::
    :hidden:

    quickstart
    application
    router
    examples

What is Enlighten?
------------------
**Enlighten is a micro framework that helps you rapidly build PHP web applications.**

Take the pain out of the common tasks you have to go through when you build any PHP application:

.. code-block:: php

    $app = new Enlighten();

    $app->get('/hello/$name', function ($name) {
        echo "Hi there, $name";
    });

In short: a fat-free framework with no external dependencies that simply helps you *get shit done* without getting in your way:

- Deal with parsing requests with ease: cookies, file uploads, headers, forms and more.
- Set up flexible and easy to use routing for requests, with dynamic URL variables and dependency injection.
- Apply filter functions for routing events and error handling; great for common tasks like authentication and logging.
- Control every aspect of the HTTP response sent back to the user, with an easy to use API.

Enlighten is an open source, MIT licensed project. Check it out on GitHub:
<commit_msg>Docs - Index ToC: Try adding Index itself to the ToC so it appears in nav<commit_after>Enlighten Documentation
=====================================

.. toctree::
    :hidden:

    index
    quickstart
    application
    router
    examples

What is Enlighten?
------------------
**Enlighten is a micro framework that helps you rapidly build PHP web applications.**

Take the pain out of the common tasks you have to go through when you build any PHP application:

.. code-block:: php

    $app = new Enlighten();

    $app->get('/hello/$name', function ($name) {
        echo "Hi there, $name";
    });

In short: a fat-free framework with no external dependencies that simply helps you *get shit done* without getting in your way:

- Deal with parsing requests with ease: cookies, file uploads, headers, forms and more.
- Set up flexible and easy to use routing for requests, with dynamic URL variables and dependency injection.
- Apply filter functions for routing events and error handling; great for common tasks like authentication and logging.
- Control every aspect of the HTTP response sent back to the user, with an easy to use API.

Enlighten is an open source, MIT licensed project. Check it out on GitHub:

{'fraction_non_alphanumeric': 0.10717299578059072, 'fraction_numerical': 0.0, 'mean_word_length': 3.5076045627376424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '566902', 'n_tokens_mistral': 591, 'n_tokens_neox': 570, 'n_words': 323}