Skip to content

sunaoka/php-postgresql-errors

Repository files navigation

PostgreSQL Error Codes for PHP

License PHP Test codecov


Installation

composer require sunaoka/php-postgresql-errors

Usage

<?php

use Sunaoka\PostgresError\PostgresError;

echo PostgresError::UNIQUE_VIOLATION;
// => 23505