<commit_before>classyfile
==========
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/7cd81039-46d2-4a18-b57b-6242cb18f3b4/mini.png)](https://insight.sensiolabs.com/projects/7cd81039-46d2-4a18-b57b-6242cb18f3b4)
[![Code Climate](https://codeclimate.com/github/onema/classyfile/badges/gpa.svg)](https://codeclimate.com/github/onema/classyfile)
[![Build Status](https://travis-ci.org/onema/classyfile.svg?branch=develop)](https://travis-ci.org/onema/classyfile) [![Coverage Status](https://coveralls.io/repos/onema/classyfile/badge.svg?branch=develop)](https://coveralls.io/r/onema/classyfile?branch=develop) 
[![Documentation Status](https://readthedocs.org/projects/classyfile/badge/?version=latest)](http://classyfile.readthedocs.org/en/latest/)
[![MIT License](https://img.shields.io/packagist/l/onema/classyfile.svg?style=flat)](https://tldrlegal.com/license/mit-license)

## Summary
Provides a way to break PHP files containing multiple classes and creates single files per class.
This can be useful when refactoring old libraries. 

This library uses the [nikic/PHP-Parser](https://github.com/nikic/PHP-Parser) to parse all the php classes.

See the [Documentation](http://classyfile.readthedocs.org/en/latest/) for more information. 

## Requirements
 
  - PHP 5.4.0
  
## Installation

### Install it using composer
 

```json
{
    "require": {
        "onema/classyfile": "^1.0.0"
    }
}
```

After it has been installed you can run the command: `php vendor/bin/classyfile`

### Download from github
You can download the project from github. You still need to use composer to install all the dependencies.
```
git clone <EMAIL>:onema/classyfile.git
cd classyfile
composer install
```
After it has been installed you can run the command: `php classyfile`
<commit_msg>update readme file.<commit_after>classyfile
==========
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/7cd81039-46d2-4a18-b57b-6242cb18f3b4/mini.png)](https://insight.sensiolabs.com/projects/7cd81039-46d2-4a18-b57b-6242cb18f3b4)
[![Code Climate](https://codeclimate.com/github/onema/classyfile/badges/gpa.svg)](https://codeclimate.com/github/onema/classyfile)
[![Build Status](https://travis-ci.org/onema/classyfile.svg?branch=develop)](https://travis-ci.org/onema/classyfile) [![Coverage Status](https://coveralls.io/repos/onema/classyfile/badge.svg?branch=develop)](https://coveralls.io/r/onema/classyfile?branch=develop) 
[![Documentation Status](https://readthedocs.org/projects/classyfile/badge/?version=latest)](http://classyfile.readthedocs.org/en/latest/)
[![MIT License](https://img.shields.io/packagist/l/onema/classyfile.svg?style=flat)](https://tldrlegal.com/license/mit-license)

## Summary
Provides a way to break PHP files containing multiple classes and creates single files per class.
This can be useful when refactoring old libraries. 

This library uses the [nikic/PHP-Parser](https://github.com/nikic/PHP-Parser) to parse all the php classes.

See the [Documentation](http://classyfile.readthedocs.org/en/latest/) for more information. 

## Requirements
 
  - PHP 5.4.0
  
## Installation

### Install it using composer

```
composer require 'onema/classyfile:^1.0.0'
```

Or manually add it to the `composer.json` file

```json
{
    "require": {
        "onema/classyfile": "^1.0.0"
    }
}
```

After it has been installed you can run the command: `php vendor/bin/classyfile`

### Download from github
You can download the project from github. You still need to use composer to install all the dependencies.
```
git clone <EMAIL>:onema/classyfile.git
cd classyfile
composer install
```
After it has been installed you can run the command: `php classyfile`

## Documentation
See the [documentation](docs/index.md) section.
{'fraction_non_alphanumeric': 0.15052041633306645, 'fraction_numerical': 0.02748865759274086, 'mean_word_length': 5.1042345276872965, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2690199', 'n_tokens_mistral': 1376, 'n_tokens_neox': 1270, 'n_words': 254}