<commit_before># yii2-schemadump

[![Latest Stable Version](https://poser.pugx.org/jamband/yii2-schemadump/v/stable.svg)](https://packagist.org/packages/jamband/yii2-schemadump) [![Total Downloads](https://poser.pugx.org/jamband/yii2-schemadump/downloads.svg)](https://packagist.org/packages/jamband/yii2-schemadump) [![Latest Unstable Version](https://poser.pugx.org/jamband/yii2-schemadump/v/unstable.svg)](https://packagist.org/packages/jamband/yii2-schemadump) [![License](https://poser.pugx.org/jamband/yii2-schemadump/license.svg)](https://packagist.org/packages/jamband/yii2-schemadump)[![Build Status](https://travis-ci.org/jamband/yii2-schemadump.svg?branch=master)](https://travis-ci.org/jamband/yii2-schemadump)
This command to generate the schema from an existing database.

## Demo

![gif](https://raw.githubusercontent.com/jamband/jamband.github.io/master/images/yii2-schemadump.gif)

## Installation

```
php composer.phar require --dev --prefer-dist jamband/yii2-schemadump "*"
```

or add in composer.json (require-dev section)<commit_msg>Minor fix in README.md<commit_after># yii2-schemadump

[![Latest Stable Version](https://poser.pugx.org/jamband/yii2-schemadump/v/stable.svg)](https://packagist.org/packages/jamband/yii2-schemadump) [![Total Downloads](https://poser.pugx.org/jamband/yii2-schemadump/downloads.svg)](https://packagist.org/packages/jamband/yii2-schemadump) [![Latest Unstable Version](https://poser.pugx.org/jamband/yii2-schemadump/v/unstable.svg)](https://packagist.org/packages/jamband/yii2-schemadump) [![License](https://poser.pugx.org/jamband/yii2-schemadump/license.svg)](https://packagist.org/packages/jamband/yii2-schemadump) [![Build Status](https://travis-ci.org/jamband/yii2-schemadump.svg?branch=master)](https://travis-ci.org/jamband/yii2-schemadump)

Generate the schema from an existing database.

## Demo

![gif](https://raw.githubusercontent.com/jamband/jamband.github.io/master/images/yii2-schemadump.gif)

## Installation

```
php composer.phar require --dev --prefer-dist jamband/yii2-schemadump "*"
```

or add in composer.json (require-dev section)
{'fraction_non_alphanumeric': 0.17892738490745136, 'fraction_numerical': 0.012339819648789748, 'mean_word_length': 5.8, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 22, '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': '580814', 'n_tokens_mistral': 827, 'n_tokens_neox': 813, 'n_words': 74}