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

Eloquent Extended, added some PostgreSQL features
4,546
0
3
Package Data
Maintainer Username: emiliopedrollo
Maintainer Contact: mirza@bosnadev.com (Mirza Pasic)
Package Create Date: 2017-08-02
Package Last Update: 2023-09-14
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-26 03:10:18
Package Statistics
Total Downloads: 4,546
Monthly Downloads: 478
Daily Downloads: 8
Total Stars: 0
Total Watchers: 3
Total Forks: 1
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