<commit_before># Box

[![Build Status](https://secure.travis-ci.org/kherge/Box.png?branch=master)](http://travis-ci.org/kherge/Box)

Box is a library and command line application for simplifying the PHAR creation process.

## Installation

To install, you need to run this command in your shell:

    $ curl -s http://box-project.org/installer.php | php

Updates can later be performed by running Box's update command:

    $ php box.phar update

## Usage

To build a new PHAR using Box, [configure][configure] your project

**box.json**:

    {
        "directories": [
            "/path/to/source",
            "/path/to/source"
        ]
    }

and run

    $ php box.phar build

You can also check out the [example PHAR application][example] ready to be build by Box.

Please see [the wiki][wiki] for more detailed usage information.

[configure]: https://github.com/kherge/Box/wiki/Configuration
[example]: https://github.com/kherge/BoxExample
[wiki]: https://github.com/kherge/Box/wiki<commit_msg>Updating readme.<commit_after># Box

[![Build Status](https://secure.travis-ci.org/kherge/Box.png?branch=master)](http://travis-ci.org/kherge/Box)

An application for building and managing Phars.

## Installation

To install, you need to run this command in your shell:

```sh
$ curl -s http://box-project.org/installer.php | php
```

Updates can later be performed by running Box's update command:

```sh
$ php box.phar update
```

You may also use Composer:

```sh
$ composer require kherge/box=~2.0
```

## Usage

To build a new PHAR using Box, [configure][configure] your project

**box.json**:

```json
{
    "directories": [
        "/path/to/source",
        "/path/to/source"
    ]
}
```

and run

```sh
$ php box.phar build
```

You can also check out the [example PHAR application][example] ready to be build by Box.

Please see [the wiki][wiki] for more detailed usage information.

[configure]: https://github.com/kherge/Box/wiki/Configuration
[example]: https://github.com/kherge/BoxExample
[wiki]: https://github.com/kherge/Box/wiki
{'fraction_non_alphanumeric': 0.1380487804878049, 'fraction_numerical': 0.000975609756097561, 'mean_word_length': 3.5679287305122496, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '1930583', 'n_tokens_mistral': 684, 'n_tokens_neox': 659, 'n_words': 200}