<commit_before># Prisma

This is a Slim 3 skeleton project that includes Routing, Middleware, DI,
Twig templates, mustache.js, Translations, Assets, Sessions, Database Queries, 
Migrations, Logging and Unit testing.

[![Latest Version on Packagist](https://img.shields.io/github/release/odan/prisma.svg)](https://github.com/odan/prisma/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)
[![Build Status](https://travis-ci.org/odan/prisma.svg?branch=master)](https://travis-ci.org/odan/prisma)
[![Quality Score](https://scrutinizer-ci.com/g/odan/prisma/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/odan/prisma/?branch=master)
[![Total Downloads](https://img.shields.io/packagist/dt/odan/prisma.svg)](https://packagist.org/packages/odan/prisma)


## Main packages

* Router, Middleware, PSR-7 HTTP messages - [slimphp/slim](https://github.com/slimphp/Slim)
* Dependency Injection with Autowiring - [odan/slim-di](https://github.com/odan/slim-di)
* Template Engine - [slim/twig-view](https://github.com/slimphp/Twig-View)
* Assets Cache - [odan/twig-assets](https://github.com/odan/twig-assets)
* Sessions - [aura/session](https://github.com/auraphp/Aura.Session)
* Database Query Builder - [odan/database](https://github.com/odan/database)
* Migrations - [cakephp/phinx](https://github.com/cakephp/phinx)
* Migrations Generator - [odan/phinx-migrations-generator](https://github.com/odan/phinx-migrations-generator)
* Hydrator - [odan/hydrator](https://github.com/odan/hydrator)
* Translations - [symfony/translation](https://github.com/symfony/Translation), [odan/twig-translation](https://github.com/odan/twig-translation)
* Logging - [monolog/monolog](https://github.com/Seldaek/monolog) 
* Unit tests - [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit)
* Directory structure - [php-pds/skeleton](https://github.com/php-pds/skeleton)

## Requirements

* PHP 7.0+
* Apache
* MySQL
* [Apache Ant](http://ant.apache.org/) (optional)

## Installation

**Step 1:** Create a new project:

```shell
composer create-project --prefer-dist odan/prisma my-app
```

**Step 2:** Setup

Run the installer script and follow the instructions:

```shell<commit_msg>Updated docs<commit_after># Prisma

This is a Slim 3 skeleton project that includes Routing, Middleware, DI,
Twig templates, mustache.js, Translations, Assets, Sessions, Database Queries, 
Migrations, Logging and Unit testing.

[![Latest Version on Packagist](https://img.shields.io/github/release/odan/prisma.svg)](https://github.com/odan/prisma/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)
[![Build Status](https://travis-ci.org/odan/prisma.svg?branch=master)](https://travis-ci.org/odan/prisma)
[![Quality Score](https://scrutinizer-ci.com/g/odan/prisma/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/odan/prisma/?branch=master)
[![Total Downloads](https://img.shields.io/packagist/dt/odan/prisma.svg)](https://packagist.org/packages/odan/prisma)


## Main packages

* Router, Middleware, PSR-7 HTTP messages - [slimphp/slim](https://github.com/slimphp/Slim)
* Dependency Injection with Autowiring - [odan/slim-di](https://github.com/odan/slim-di)
* Template Engine - [slim/twig-view](https://github.com/slimphp/Twig-View)
* Assets Cache - [odan/twig-assets](https://github.com/odan/twig-assets)
* Sessions - [aura/session](https://github.com/auraphp/Aura.Session)
* Database Query Builder - [odan/database](https://github.com/odan/database)
* Migrations - [cakephp/phinx](https://github.com/cakephp/phinx)
* Migrations Generator - [odan/phinx-migrations-generator](https://github.com/odan/phinx-migrations-generator)
* Hydrator - [odan/hydrator](https://github.com/odan/hydrator)
* Translations - [symfony/translation](https://github.com/symfony/Translation), [odan/twig-translation](https://github.com/odan/twig-translation)
* Logging - [monolog/monolog](https://github.com/Seldaek/monolog) 
* Unit tests - [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit)
* Directory structure - [php-pds/skeleton](https://github.com/php-pds/skeleton)

## Requirements

* PHP 7.0+
* Apache
* MySQL
* [Apache Ant](http://ant.apache.org/)

## Installation

**Step 1:** Create a new project:

```shell
composer create-project --prefer-dist odan/prisma my-app
```

**Step 2:** Setup

Run the installer script and follow the instructions:

```shell
{'fraction_non_alphanumeric': 0.17818671454219032, 'fraction_numerical': 0.0026929982046678637, 'mean_word_length': 5.147586206896552, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 46, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5762137', 'n_tokens_mistral': 1668, 'n_tokens_neox': 1578, 'n_words': 229}