<commit_before># Simple API

A fast, simple and reliable API microframework for PHP 5.3+

## Setup

1. Make sure all requests point to your main .php file
2. Just **include** or **require** `api.php` in your project

## Example

```PHP
<?php

require 'api.php';

api::get('hello/{name}', function($name = 'world') {<commit_msg>Note PHP 5.3+ incompatibility<commit_after># Simple API

A fast, simple and reliable API microframework for ~~PHP 5.3+~~ PHP 5.4+

> v0.2 will be PHP 5.3+ compatible

## Setup

1. Make sure all requests point to your main .php file
2. Just **include** or **require** `api.php` in your project

## Example

```PHP
<?php

require 'api.php';

api::get('hello/{name}', function($name = 'world') {
{'fraction_non_alphanumeric': 0.15577190542420027, 'fraction_numerical': 0.022253129346314324, 'mean_word_length': 4.294117647058823, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5946422', 'n_tokens_mistral': 244, 'n_tokens_neox': 239, 'n_words': 95}