2021-02-05 14:47:54 +03:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
`composer require retailcrm/service-bundle`
|
|
|
|
|
|
|
|
Enable bundle in `config/bundles.php`:
|
|
|
|
|
|
|
|
```php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
// other bundles
|
|
|
|
RetailCrm\ServiceBundle\RetailCrmServiceBundle::class => ['all' => true]
|
|
|
|
];
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Create bundle config file in `config/packages/retail_crm_service.yaml`:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
retail_crm_service:
|
2021-02-17 09:31:36 +03:00
|
|
|
request_schema:
|
|
|
|
callback: ~
|
|
|
|
client: ~
|
2021-03-31 11:00:48 +03:00
|
|
|
messenger: ~
|
2021-02-05 14:47:54 +03:00
|
|
|
```
|
|
|
|
|
2021-03-31 11:00:48 +03:00
|
|
|
## Usage
|
|
|
|
* [Handling incoming requests data](./Requests.md)
|
|
|
|
* [Security](./Security.md)
|
|
|
|
* [Messenger](./Messenger.md)
|