<commit_before># docker-php
[![](https://images.microbadger.com/badges/image/smizy/php:7-alpine.svg)](https://microbadger.com/images/smizy/php "Get your own image badge on microbadger.com") 
[![](https://images.microbadger.com/badges/version/smizy/php:7-alpine.svg)](https://microbadger.com/images/smizy/php "Get your own version badge on microbadger.com")
[![CircleCI](https://circleci.com/gh/smizy/docker-php/tree/php7.svg?style=svg&circle-token=<KEY>)](https://circleci.com/gh/smizy/docker-php/tree/php7)

PHP docker image based on alpine

# Usage 
```
# run php-fpm (xdebug disabled)
docker run -v $(pwd):/var/www/html -d  smizy/php:7-alpine 

# run built-in php server (xdebug remote debug enabled with xdebug.remote_connect_back=On 
docker run -it --rm -v $(pwd):/var/www/html -p 8090:9000 -e XDEBUG_REMOTE=1  smizy/php:7-alpine built-in 
<commit_msg>fix circleci badge branch name [skip ci]<commit_after># docker-php
[![](https://images.microbadger.com/badges/image/smizy/php:7-alpine.svg)](https://microbadger.com/images/smizy/php "Get your own image badge on microbadger.com") 
[![](https://images.microbadger.com/badges/version/smizy/php:7-alpine.svg)](https://microbadger.com/images/smizy/php "Get your own version badge on microbadger.com")
[![CircleCI](https://circleci.com/gh/smizy/docker-php/tree/7.0.svg?style=svg&circle-token=c0772bbd1324e123a5bc5b10b00cf1191efd7846)](https://circleci.com/gh/smizy/docker-php/tree/7.0)

PHP docker image based on alpine

# Usage 
```
# run php-fpm (xdebug disabled)
docker run -v $(pwd):/var/www/html -d  smizy/php:7-alpine 

# run built-in php server (xdebug remote debug enabled with xdebug.remote_connect_back=On 
docker run -it --rm -v $(pwd):/var/www/html -p 8090:9000 -e XDEBUG_REMOTE=1  smizy/php:7-alpine built-in 

{'fraction_non_alphanumeric': 0.16798196166854565, 'fraction_numerical': 0.032130777903043965, 'mean_word_length': 4.7817589576547235, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, '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': '2384819', 'n_tokens_mistral': 777, 'n_tokens_neox': 690, 'n_words': 122}