<commit_before># Docker PHP7 Images
This repository contains configuration files for building Docker images with the latest PHP code (master branch) with various configurations and environments. Images are Ubuntu 15.04-based.

These images provide development environments for testing and running code against various versions of PHP, including development versions of PHP7. This is heavily inspired by Rasmus Lerdorf's [Vagrant box](https://github.com/rlerdorf/php7dev); this is meant for those who prefer a lighter Docker image than a full-blown virtual machine.

Currently this image comes with a pre-configured Apache install.

## Switching PHP versions
Tweaked versions of Rasmus's original build scripts are available in this Docker image; see documentation [here](https://github.com/rlerdorf/php7dev/blob/master/README.md).

## Getting the latest PHP7 version
Images are rebuilt nightly at [Docker.com](https://registry.hub.docker.com/u/coderstephen/php7); pulling a new image will give you the latest version of PHP7. To update by hand in an existing container, you can run

```sh
$ makephp 70
```

which will automatically pull the latest version and compile it.<commit_msg>Add Docker badges<commit_after># Docker PHP7 Images
[![Docker Stars](https://img.shields.io/docker/stars/coderstephen/php7.svg)](https://registry.hub.docker.com/u/coderstephen/php7)
[![Docker Pulls](https://img.shields.io/docker/pulls/coderstephen/php7.svg)](https://registry.hub.docker.com/u/coderstephen/php7)

This repository contains configuration files for building Docker images with the latest PHP code (master branch) with various configurations and environments. Images are Ubuntu 15.04-based.

These images provide development environments for testing and running code against various versions of PHP, including development versions of PHP7. This is heavily inspired by Rasmus Lerdorf's [Vagrant box](https://github.com/rlerdorf/php7dev); this is meant for those who prefer a lighter Docker image than a full-blown virtual machine.

Currently this image comes with a pre-configured Apache install.

## Switching PHP versions
Tweaked versions of Rasmus's original build scripts are available in this Docker image; see documentation [here](https://github.com/rlerdorf/php7dev/blob/master/README.md).

## Getting the latest PHP7 version
Images are rebuilt regularly at [Docker.com](https://registry.hub.docker.com/u/coderstephen/php7); pulling a new image will give you the latest version of PHP7. To update by hand in an existing container, you can run

```sh
$ makephp 70
```

which will automatically pull the latest version and compile it.
{'fraction_non_alphanumeric': 0.07747816179263198, 'fraction_numerical': 0.01139384732244588, 'mean_word_length': 5.154205607476635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '5335708', 'n_tokens_mistral': 725, 'n_tokens_neox': 678, 'n_words': 303}