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...)
- Run composer require bosnadev/databasein your project root directory.
- Add Bosnadev\Database\DatabaseServiceProvider::classtoconfig/app.php'sprovidersarray.
Then you are done.
- Run composer require bosnadev/databasein your project root directory.
- Add $app->register(Bosnadev\Database\DatabaseServiceProvider::class);tobootstrap/app.php(under the "Register Service Providers" section)
- Uncomment the line $app->withEloquent();inbootstrap/app.php
