Check out example codes for "how to start postgresql laravel". It will help you in understanding the concepts better.

Code Example 1

extension=pdo_pgsqlextension=pgsql

Code Example 2

;extension=pdo_pgsql;extension=pgsql

Code Example 3

DB_CONNECTION=pgsqlDB_HOST=127.0.0.1DB_PORT=5432DB_DATABASE=database_nameDB_USERNAME=postgresDB_PASSWORD=your_choosen_password

Learn ReactJs, React Native from akashmittal.com