mammutgroup / database by honarkhah
forked from bosnadev/database

Eloquent Extended, added some PostgreSQL features
107
1
2
Package Data
Maintainer Username: honarkhah
Maintainer Contact: sayadaazami@gmail.com (sayad aazami)
Package Create Date: 2017-01-07
Package Last Update: 2017-07-15
Home Page: https://bosnadev.com
Language: PHP
License: MIT
Last Refreshed: 2024-11-16 03:00:07
Package Statistics
Total Downloads: 107
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Build Status

Laravel-Mysql-Extended

An extended PostgreSQL driver for Laravel 5 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 Mammutgroup/database in your project root directory.
  2. Add Mammutgroup\Database\DatabaseServiceProvider::class to config/app.php's providers array.

Then you are done.

Lumen 5.*

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