Download the PHP package aeatech/transaction-manager-postgresql without Composer

On this page you can find all versions of the php package aeatech/transaction-manager-postgresql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package transaction-manager-postgresql

AEATech Transaction Manager – PostgreSQL

Lightweight module for generating safe and efficient PostgreSQL statements:

This package is an extension of aeatech/transaction-manager-core. It only builds SQL and parameters; the core package handles execution, retries, and transaction boundaries. For Doctrine DBAL users, there is an adapter package: aeatech/transaction-manager-doctrine-adapter.

System requirements:

Installation (Composer):

Quick start

Usage examples

1) INSERT

Prepared Statement Reuse Hint

This package supports the optional prepared statement reuse hint via StatementReusePolicy from the Core package. It is a best‑effort performance hint that may be ignored by connection implementations.

Options:

Example with a PostgreSQL transaction factory:

Notes:

2) INSERT IGNORE (ON CONFLICT DO NOTHING)

3) UPSERT (ON CONFLICT DO UPDATE) by columns

4) UPSERT (ON CONFLICT DO UPDATE) by constraint name

5) DELETE by identifiers

6) DELETE with LIMIT (PostgreSQL only, via ctid)

7) UPDATE by identifiers

8) UPDATE WHEN ... THEN ...

9) Raw SQL

Parameters and types

Additional notes for delete/update:

PostgreSQL specifics and nuances

How it works

Running tests

1) Via Docker Compose (recommended for reproducibility)

Bring up services for your target PHP/PostgreSQL versions and run PHPUnit inside the PHP CLI containers.

Start services (PHP 8.2/8.3/8.4 with PostgreSQL 16, 17, 18 see docker/docker-compose.yml for details):

Install dependencies inside the PHP container (example for PHP 8.3):

Run tests for PHP 8.2 and PostgreSQL 16:

For PHP 8.3 and PostgreSQL 16:

For PHP 8.4 and PostgreSQL 16:

Run tests for PHP 8.2 and PostgreSQL 17:

For PHP 8.3 and PostgreSQL 17:

For PHP 8.4 and PostgreSQL 17:

Run tests for PHP 8.2 and PostgreSQL 18:

For PHP 8.3 and PostgreSQL 17:

For PHP 8.4 and PostgreSQL 17:

Run all configured variants:

Run phpstan

To stop and remove containers:

License

This project is licensed under the MIT License. See the LICENSE file for details.


All versions of transaction-manager-postgresql with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-pdo Version *
ext-pdo_pgsql Version *
aeatech/transaction-manager-common-transactions Version ^1.0
aeatech/transaction-manager-core Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aeatech/transaction-manager-postgresql contains the following files

Loading the files please wait ...