An extended PostgreSQL driver for Laravel 5 with support for some aditional PostgreSQL data types: hstore, uuid, geometric types (point, path, circle, line, polygon...)
- Run
composer require Mammutgroup/database
in your project root directory. - Add
Mammutgroup\Database\DatabaseServiceProvider::class
toconfig/app.php
'sproviders
array.
Then you are done.
- 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