CRM / Bitrix24 · own tooling · composer package
A reusable Bitrix24 integration library
Client:
Personal project
Category: CRM / Bitrix24
Stack: PHP 8.1+ (framework-agnostic), PSR-4, GitHub Actions
Timeline: internal tool, grown as needed
Problem
Every new integration with Bitrix24 and external services (e-signature, warehouse) was written from scratch — requests, error handling and logging got duplicated across projects.
Constraints
The tool had to stay framework-agnostic, so it could be used both inside Bitrix24 modules and in standalone PHP scripts.
What I did
- A Bitrix24 REST client (deals, contacts, companies, document generation from templates)
- Integrations with an e-signature service and a warehouse service behind one interface
- A retry mechanism with a configurable attempt count and separate transport/domain exceptions
- A unified logging system with levels, rotation and retention-based auto-cleanup
- A composer package with CI (static analysis, style checks)
Architecture
Bitrix24 REST
→ E-signature service
→ Warehouse service
→ Unified logger
→ Retry layer
Result
New Bitrix24 and adjacent-service integrations started being assembled from a ready reusable transport-and-logging layer instead of being written from zero every time.
What can be reused
Bitrix24 REST client with retries
Unified logging system with rotation
Transport/domain exception separation pattern