emiliopedrollo / laravel-postgres-extended-schema by emiliopedrollo
forked from bosnadev/database

Eloquent Extended, added some PostgreSQL features
5,223
0
3
Package Data
Maintainer Username: emiliopedrollo
Maintainer Contact: mirza@bosnadev.com (Mirza Pasic)
Package Create Date: 2017-08-02
Package Last Update: 2024-06-28
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-15 15:07:11
Package Statistics
Total Downloads: 5,223
Monthly Downloads: 124
Daily Downloads: 1
Total Stars: 0
Total Watchers: 3
Total Forks: 2
Total Open Issues: 0

Laravel Postgres Extended

Build Status SensioLabsInsight Code Climate Latest Stable Version Total Downloads Monthly Downloads License

An extended PostgreSQL driver for Laravel 5.2+ with support for some aditional PostgreSQL data types: hstore, uuid, geometric types (point, path, circle, line, polygon...)

Getting Started

Laravel 5.2+

  1. Run composer require emiliopedrollo/laravel-postgres-extended-schema in your project root directory.
  2. Add Pedrollo\Database\DatabaseServiceProvider::class to config/app.php's providers array.

Then you are done.

Lumen 5.*

  1. Run composer require emiliopedrollo/laravel-postgres-extended-schema in your project root directory.
  2. Add $app->register(Pedrollo\Database\DatabaseServiceProvider::class); to bootstrap/app.php (under the "Register Service Providers" section)
  3. Uncomment the line $app->withEloquent(); in bootstrap/app.php