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...)
composer require bosnadev/database
in your project root directory.Bosnadev\Database\DatabaseServiceProvider::class
to config/app.php
's providers
array.Then you are done.
composer require bosnadev/database
in your project root directory.$app->register(Bosnadev\Database\DatabaseServiceProvider::class);
to bootstrap/app.php
(under the "Register Service Providers" section)$app->withEloquent();
in bootstrap/app.php