<commit_before>Staq [![Build Status](https://travis-ci.org/Pixel418/Staq.png?branch=develop)](https://travis-ci.org/Pixel418/Staq?branch=develop)
======

Staq is a modern & innovative PHP framework for enjoyable web development.

1. [Features](#features)
2. [Let's code](#lets-code)
3. [How to Install](#how-to-install)
4. [How to Contribute](#how-to-contribute)
5. [Author & Community](#author--community)



Features
--------

Staq contains all the expected features : Extensible structure, routing, ORM ( *Planned* ), templating ( *Planned* ) & pre-coded applications ( *Planned* ). <br>
It mainly contains a new object pattern, *the stack*, for low dependency, high extensible & enjoyable development !

[&uarr; top](#readme)



Let's code
--------

### Hello world tutorial 

```php
require_once( 'vendor/pixel418/staq/src/include.php' );

\Staq\App::create( )
    ->addController( '/hello/:name', function( $name ) {
        return 'Hello ' . $name;
    } )
    ->run( );
```

### System Requirements
You need **PHP >= 5.4** and some happiness.

[&uarr; top](#readme)



How to Install
--------

If you don't have composer, you have to [install it](http://getcomposer.org/doc/01-basic-usage.md#installation).
<commit_msg>Add link to the Staq Hello World project<commit_after>Staq [![Build Status](https://travis-ci.org/Pixel418/Staq.png?branch=develop)](https://travis-ci.org/Pixel418/Staq?branch=develop)
======

Staq is a modern & innovative PHP framework for enjoyable web development.

1. [Features](#features)
2. [Let's code](#lets-code)
3. [How to Install](#how-to-install)
4. [How to Contribute](#how-to-contribute)
5. [Author & Community](#author--community)



Features
--------

Staq contains all the expected features : Extensible structure, routing, ORM ( *Planned* ), templating ( *Planned* ) & pre-coded applications ( *Planned* ). <br>
It mainly contains a new object pattern, *the stack*, for low dependency, high extensible & enjoyable development !

[&uarr; top](#readme)



Let's code
--------

### Hello world tutorial 

```php
require_once( 'vendor/pixel418/staq/src/include.php' );

\Staq\App::create( )
    ->addController( '/hello/:name', function( $name ) {
        return 'Hello ' . $name;
    } )
    ->run( );
```


### Hello world projects

 * The simplest [Staq Hello World project](https://github.com/Pixel418/Staq-HelloWorld/)
 * The [Staq Hello World project with MVC structure](https://github.com/Pixel418/Staq-HelloWorldMVC/)
 * 

### System Requirements
You need **PHP >= 5.4** and some happiness.

[&uarr; top](#readme)



How to Install
--------

If you don't have composer, you have to [install it](http://getcomposer.org/doc/01-basic-usage.md#installation).

{'fraction_non_alphanumeric': 0.1760355029585799, 'fraction_numerical': 0.015532544378698224, 'mean_word_length': 3.9003623188405796, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 6, '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': '549937', 'n_tokens_mistral': 942, 'n_tokens_neox': 856, 'n_words': 238}