attlaz / adapter-base
Base adapter as building block and tool collection for Attlaz adapters
Requires
- php: ^8.4
- ext-json: *
- attlaz/attlaz-monolog: ^2.1.2
- attlaz/client: ^1.20.1
- doctrine/dbal: ^4.4.3
- echron/datatypes: ^1.6.0|^2.1.0
- echron/tools: ^1.8.1
- phpseclib/phpseclib: ^3.0.55
- psr/log: ^1 | ^2 | ^3
- psr/simple-cache: ^3.0.0
Requires (Dev)
- bramus/monolog-colored-line-formatter: ^3.1
- friendsofphp/php-cs-fixer: ^v3.95
- monolog/monolog: ^3.10
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^13.2.1
Suggests
- laminas/laminas-db: ^2.20
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.20.1
- 1.20.0
- 1.19.0
- 1.18.2
- 1.18.1
- 1.18.0
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.7
- 1.16.6
- 1.16.5
- 1.16.4
- 1.16.3
- 1.16.2
- 1.16.1
- 1.16.0
- 1.15.1
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.3
- 1.12.2
- 1.12.1
- 1.12.0
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.14
- 1.9.13
- 1.9.12
- 1.9.11
- 1.9.10
- 1.9.9
- 1.9.8
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.8
- 1.8.7
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-develop
This package is auto-updated.
Last update: 2026-09-11 09:52:44 UTC
README
The base building block and tool collection for PHP adapters on Attlaz, a cloud-based iPaaS (Integration Platform as a Service). Attlaz adapters (Magento, DBFact and others) extend the abstractions in this package to connect to external systems.
Requirements
- PHP 8.4+
Installation
composer require attlaz/adapter-base
What's included
Building blocks for connecting an adapter to an external system, under the Attlaz\Adapter\Base namespace:
- Remote services — abstractions for talking to external systems: SQL (
SqlRemoteService), SSH (SSH2RemoteService), SOAP (SoapRemoteService), Redis (RedisRemoteService) and Elasticsearch (ElasticsearchRemoteService), all built on a commonBaseRemoteService. - Connection factories —
SqlFactory,SshFactoryandSftpFactory, including SSH tunnelling for reaching systems behind a bastion host. - Repository pattern —
BaseRepositoryas the base for an adapter's data access. - Helpers — SQL change detection, snapshots, and port/connection utilities.
Usage
Adapters build on these classes rather than using the package standalone — an adapter typically extends a RemoteService to reach its external system and a BaseRepository for data access. The first-party Attlaz adapters (e.g. Magento 2, DBFact) are built this way.
Documentation
Full documentation at docs.attlaz.com.
Development
Run static analysis and tests via the bundled Attlaz PHP image:
docker run -it -v .:/app -w /app --rm attlaz/php:8.4 composer phpstan docker run -it -v .:/app -w /app --rm attlaz/php:8.4 php vendor/bin/phpunit tests/
Getting help
- Issue Tracker — questions, bug reports and feature requests
- Developer support: developers@attlaz.com