Skip to content

Commit 7d1ef29

Browse files
committed
add installation guide
1 parent bfce863 commit 7d1ef29

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@ Laravel Postgres Extended Schema
2323

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

26+
## Installation
27+
28+
`$ composer require phoenixgao/laravel-postgres-extended-schema`
29+
30+
## Usage
31+
32+
Add our service provider into `config/app.php`:
33+
34+
```php
35+
<?php
36+
...
37+
'providers' => [
38+
...
39+
Bosnadev\Database\DatabaseServiceProvider::class,
40+
],
41+
...
42+
```
43+
2644
This library extends PostgreSQL driver for Laravel 5 with support for:
2745

2846
### Additional PostgreSQL data types:
@@ -32,4 +50,3 @@ This library extends PostgreSQL driver for Laravel 5 with support for:
3250
* network address types
3351

3452
### Table Inheritance
35-

0 commit comments

Comments
 (0)