postgres in laravel code example
Example 1: laravel conexion postgresql example
# your root project modify the .env file | grep DB
DB_CONNECTION=pgsql
DB_HOST=<your_database_IP_address>
DB_PORT=5432
DB_DATABASE=postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
Example 2: how to start postgresql laravel
;extension=pdo_pgsql;extension=pgsql