alveby / atrium-integrations
The base for Atrium's connectors (1C, Bitrix24 and others): a queue job with retries, an exchange log in the admin and an alert to administrators on failure
Package info
github.com/AlveBy/atrium-integrations
Type:atrium-module
pkg:composer/alveby/atrium-integrations
Requires
- php: ^8.3
- alveby/atrium: ^0.5
- illuminate/support: ^13.0
Requires (Dev)
- orchestra/testbench: ^11.0
- phpunit/phpunit: ^12.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-04 09:00:42 UTC
README
The base of the connectors of the Atrium admin (1C, Bitrix24 and whatever comes next), so each of them does not write the same three things again:
- a queue job with retries: five attempts, pauses of 10 s, 1 min, 5 min and 15 min;
- an exchange log in the admin: when, which connector, what, about what, how it ended and why not;
- an alert to the administrators when a connector gives up: one letter per integration per hour at most.
Secrets (a webhook address, a password) are hidden in everything the log stores.
Install
composer require alveby/atrium-integrations php artisan atrium:module:install alveby/atrium-integrations
Run a queue worker (php artisan queue:work) and cron php artisan schedule:run every minute. Alert addresses and how long the log is kept are set in Modules → Integrations.
Your own connector extends Atrium\Integrations\Jobs\IntegrationJob or calls app(Atrium\Integrations\Exchange::class)->record(...); both are described, with the hook for other alert channels, in docs/integrations.md.
License
MIT