<commit_before>Laravel Postgres Extended Schema
=========================

[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]

[ico-version]: https://img.shields.io/packagist/v/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/phoenixgao/laravel-postgres-extended-schema/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square

[link-packagist]: https://packagist.org/packages/phoenixgao/laravel-postgres-extended-schema
[link-travis]: https://travis-ci.org/phoenixgao/laravel-postgres-extended-schema
[link-scrutinizer]: https://scrutinizer-ci.com/g/phoenixgao/laravel-postgres-extended-schema/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/phoenixgao/laravel-postgres-extended-schema
[link-downloads]: https://packagist.org/packages/phoenixgao/laravel-postgres-extended-schema

Forked from Bosnadev's original work https://github.com/Bosnadev/Database

This library extends PostgreSQL driver for Laravel 5 with support for:

### Additional PostgreSQL data types:
* hstore
* uuid
* geometric types (point, path, circle, line, polygon...)
* network address types

### Table Inheritance
<commit_msg>add installation guide<commit_after>Laravel Postgres Extended Schema
=========================

[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]

[ico-version]: https://img.shields.io/packagist/v/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/phoenixgao/laravel-postgres-extended-schema/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/phoenixgao/laravel-postgres-extended-schema.svg?style=flat-square

[link-packagist]: https://packagist.org/packages/phoenixgao/laravel-postgres-extended-schema
[link-travis]: https://travis-ci.org/phoenixgao/laravel-postgres-extended-schema
[link-scrutinizer]: https://scrutinizer-ci.com/g/phoenixgao/laravel-postgres-extended-schema/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/phoenixgao/laravel-postgres-extended-schema
[link-downloads]: https://packagist.org/packages/phoenixgao/laravel-postgres-extended-schema

Forked from Bosnadev's original work https://github.com/Bosnadev/Database

## Installation

`$ composer require phoenixgao/laravel-postgres-extended-schema`

## Usage

Add our service provider into `config/app.php`:

```php
<?php
    ...
    'providers' => [
        ...
        Bosnadev\Database\DatabaseServiceProvider::class,
    ],
    ...
```

This library extends PostgreSQL driver for Laravel 5 with support for:

### Additional PostgreSQL data types:
* hstore
* uuid
* geometric types (point, path, circle, line, polygon...)
* network address types

### Table Inheritance
{'fraction_non_alphanumeric': 0.16873141724479682, 'fraction_numerical': 0.0004955401387512388, 'mean_word_length': 5.972366148531951, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1579776', 'n_tokens_mistral': 1443, 'n_tokens_neox': 1417, 'n_words': 167}