lscortesc / database
Eloquent Extended, added some PostgreSQL features
Installs: 730
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 69
pkg:composer/lscortesc/database
Requires
- php: ^7.3
- doctrine/dbal: ^2.5
- illuminate/database: ^8.0
- ramsey/uuid: ^4.0
Requires (Dev)
- codeclimate/php-test-reporter: ^0.3.2
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.5
README
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...)
Getting Started
Laravel 5.2
- Run
composer require bosnadev/databasein your project root directory. - Add
Bosnadev\Database\DatabaseServiceProvider::classtoconfig/app.php'sprovidersarray.
Then you are done.
Lumen 5.*
- 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