PHP lib for Bitrix24 application development
CI\CD status on master |
---|
The library is designed for rapid development of Bitrix24 applications. Provides data storage layer in PostgreSQL database using Doctrine ORM.
Implements contracts from bitrix24-php-sdk.
Responsible for storing Bitrix24 accounts with portal access tokens.
Responsible for storing installation facts of applications on specific Bitrix24 portals
Responsible for storing contact persons who performed application installation
Responsible for storing Bitrix24 partners who performed installation or service the portal
bitrix24-app-laravel-skeleton – Laravel application template
bitrix24-app-symfony-skeleton – Symfony application template
bitrix24-php-lib – application entities work and their storage in database
bitrix24-php-sdk – transport layer + transport events (expired token, portal renamed)
src/
Bitrix24Accounts
Controllers
Entity
Exceptions
Events
EventListeners
Infrastructure
ConsoleCommands
Doctrine
Types
Repository
ReadModel
UseCases
SomeUseCase
Tests
- Docker and Docker Compose
- Make
# Initialize and start services
make up
# Run functional tests (uses default database configuration)
make test-run-functional
# Run linters
make lint-phpstan
make lint-cs-fixer
make lint-rector
Default database credentials are pre-configured in .env
:
- Host:
database
(Docker service) - Database:
b24phpLibTest
- User:
b24phpLibTest
- Password:
b24phpLibTest
No additional configuration needed for running tests.
- library is made cloud-agnostic
- We use linters
- Library is covered with tests
- All work is organized through issues
- Development processes are remote first
- Think and discuss — then write