Download the PHP package doniyor/bitrix24-laravel without Composer
On this page you can find all versions of the php package doniyor/bitrix24-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download doniyor/bitrix24-laravel
More information about doniyor/bitrix24-laravel
Files in doniyor/bitrix24-laravel
Download doniyor/bitrix24-laravel
More information about doniyor/bitrix24-laravel
Files in doniyor/bitrix24-laravel
Vendor doniyor
Package bitrix24-laravel
Short Description Laravel integration for the Bitrix24 REST API with CRM entity helpers.
License MIT
Package bitrix24-laravel
Short Description Laravel integration for the Bitrix24 REST API with CRM entity helpers.
License MIT
Please rate this library. Is it a good library?
Informations about the package bitrix24-laravel
Doniyor Bitrix24 Laravel Package
Laravel wrapper around the Bitrix24 REST API with a focus on CRM entities.
Installation
Publish configuration:
Configure the following environment variables:
Authentication
- Incoming webhook: supply
BITRIX24_BASE_URI,BITRIX24_WEBHOOK_USER, andBITRIX24_WEBHOOK_CODE. Requests are routed to{base}/{user}/{code}/{method}.jsonautomatically. Leave the auth token unset. - OAuth: omit webhook credentials and provide
BITRIX24_AUTH_TOKEN. The client sends the token as theauthquery parameter.
If both webhook credentials and an auth token are present, the webhook path takes precedence.
Usage
Access the manager with dependency injection:
Or via the facade:
Supported CRM services
- Leads
- Deals
- Contacts
- Companies
- Products
- Product Sections
- Quotes
- Invoices
- Activities
- Requisites
- Deal Categories
- Statuses
- Stages
- Currencies
For other CRM entities, use Bitrix24::crm()->service('entityName').
Field DTOs
- All
addandupdateoperations expect an implementation ofDoniyor\Bitrix24\DTO\FieldsDtoInterface. - Use any of the ready-made CRM DTOs for type-safe payloads:
Doniyor\Bitrix24\DTO\CRM\LeadFieldsDtoDoniyor\Bitrix24\DTO\CRM\DealFieldsDtoDoniyor\Bitrix24\DTO\CRM\ContactFieldsDtoDoniyor\Bitrix24\DTO\CRM\CompanyFieldsDtoDoniyor\Bitrix24\DTO\CRM\ProductFieldsDtoDoniyor\Bitrix24\DTO\CRM\ProductSectionFieldsDtoDoniyor\Bitrix24\DTO\CRM\QuoteFieldsDtoDoniyor\Bitrix24\DTO\CRM\InvoiceFieldsDtoDoniyor\Bitrix24\DTO\CRM\ActivityFieldsDtoDoniyor\Bitrix24\DTO\CRM\RequisiteFieldsDtoDoniyor\Bitrix24\DTO\CRM\DealCategoryFieldsDtoDoniyor\Bitrix24\DTO\CRM\StatusFieldsDtoDoniyor\Bitrix24\DTO\CRM\StageFieldsDtoDoniyor\Bitrix24\DTO\CRM\CurrencyFieldsDto
- Use
Doniyor\Bitrix24\DTO\GenericFieldsDtofor quick array-backed payloads. - Create your own DTO classes to add validation, defaults, or IDE type safety before making requests.
Response DTOs & Mappers
- Services still return the raw Bitrix24 payload arrays so you can keep existing behaviour.
- When you want typed objects, use the dedicated mappers:
Doniyor\Bitrix24\CRM\Mappers\LeadResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\LeadDataDoniyor\Bitrix24\CRM\Mappers\DealResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\DealDataDoniyor\Bitrix24\CRM\Mappers\ContactResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\ContactDataDoniyor\Bitrix24\CRM\Mappers\CompanyResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\CompanyDataDoniyor\Bitrix24\CRM\Mappers\ProductResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\ProductDataDoniyor\Bitrix24\CRM\Mappers\ProductSectionResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\ProductSectionDataDoniyor\Bitrix24\CRM\Mappers\QuoteResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\QuoteDataDoniyor\Bitrix24\CRM\Mappers\InvoiceResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\InvoiceDataDoniyor\Bitrix24\CRM\Mappers\ActivityResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\ActivityDataDoniyor\Bitrix24\CRM\Mappers\RequisiteResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\RequisiteDataDoniyor\Bitrix24\CRM\Mappers\DealCategoryResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\DealCategoryDataDoniyor\Bitrix24\CRM\Mappers\StatusResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\StatusDataDoniyor\Bitrix24\CRM\Mappers\StageResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\StageDataDoniyor\Bitrix24\CRM\Mappers\CurrencyResponseMapper→Doniyor\Bitrix24\DTO\CRM\Response\CurrencyData
- Example usage:
Bitrix24RestApi
All versions of bitrix24-laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^9.0|^10.0|^11.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^9.0|^10.0|^11.0
The package doniyor/bitrix24-laravel contains the following files
Loading the files please wait ...