mammutgroup / database
Eloquent Extended, added some PostgreSQL features
0.27
2017-07-15 06:58 UTC
Requires
- php: >=5.4
- doctrine/dbal: ^2.5
- geo-io/wkb-parser: ^1.0
- illuminate/database: ^5.0
- jmikola/geojson: ^1.0
- ramsey/uuid: ^3.0
Requires (Dev)
- codeclimate/php-test-reporter: ~0.3
- illuminate/pagination: ~5.0
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.5
README
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
- Run
composer require Mammutgroup/database
in your project root directory. - Add
Mammutgroup\Database\DatabaseServiceProvider::class
toconfig/app.php
'sproviders
array.
Then you are done.
Lumen 5.*
- Run
composer require Mammutgroup/database
in your project root directory. - Add
$app->register(Mammutgroup\Database\DatabaseServiceProvider::class);
tobootstrap/app.php
(under the "Register Service Providers" section) - Uncomment the line
$app->withEloquent();
inbootstrap/app.php