repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/Filters/Traits/ArrayOrNumericFilterTrait.php
src/AmoCRM/Filters/Traits/ArrayOrNumericFilterTrait.php
<?php namespace AmoCRM\Filters\Traits; trait ArrayOrNumericFilterTrait { /** * @param array|int $value * * @return array|null */ public function parseArrayOrNumberFilter($value) { if (!is_array($value)) { $value = [$value]; } $value = array_map(func...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/Filters/Traits/OrderTrait.php
src/AmoCRM/Filters/Traits/OrderTrait.php
<?php namespace AmoCRM\Filters\Traits; use AmoCRM\Filters\Interfaces\HasOrderInterface; trait OrderTrait { /** * @var string|null */ private $orderField; /** * @var string|null */ private $direction; /** * @param string $field * @param string $direction * ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/Filters/Traits/ArrayOrStringFilterTrait.php
src/AmoCRM/Filters/Traits/ArrayOrStringFilterTrait.php
<?php namespace AmoCRM\Filters\Traits; use function array_filter; use function array_map; use function is_array; use function is_null; use function is_string; use function strlen; trait ArrayOrStringFilterTrait { /** * @param array|string $value * * @return array|null */ public function p...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/Filters/Traits/IntOrIntRangeFilterTrait.php
src/AmoCRM/Filters/Traits/IntOrIntRangeFilterTrait.php
<?php namespace AmoCRM\Filters\Traits; use AmoCRM\Filters\BaseRangeFilter; use function is_int; trait IntOrIntRangeFilterTrait { /** * @param BaseRangeFilter|int $value * * @return array|null|int */ public function parseIntOrIntRangeFilter($value) { if ($value instanceof Base...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Contacts.php
src/AmoCRM/EntitiesServices/Contacts.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\ChatLinksCollection; use AmoCRM\Filters\ChatLinksFilter; use AmoCRM\Models\ChatLinkModel; use AmoCRM\EntitiesServices\Traits\LinkMethodsTrait; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Helpers\Ent...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Account.php
src/AmoCRM/EntitiesServices/Account.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Models\Ac...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/EntityNotes.php
src/AmoCRM/EntitiesServices/EntityNotes.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\EntitiesServices\Interfaces\HasParentEntity; use AmoCRM\EntitiesServices\Traits\WithParentEntityMethodsTrait; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Filters\...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/EventTypes.php
src/AmoCRM/EntitiesServices/EventTypes.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\EventTypesCollections; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; u...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Widgets.php
src/AmoCRM/EntitiesServices/Widgets.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\Widgets\WidgetsCollection; use AmoCRM\EntitiesServices\Interfaces\HasPageMethodsInterface; use AmoCR...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/BaseEntity.php
src/AmoCRM/EntitiesServices/BaseEntity.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Models\BaseApi...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Webhooks.php
src/AmoCRM/EntitiesServices/Webhooks.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Filters\WebhooksFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\WebhooksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Users.php
src/AmoCRM/EntitiesServices/Users.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\UsersCollection; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiColl...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Events.php
src/AmoCRM/EntitiesServices/Events.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\EventsCollections; use AmoCRM\EntitiesServices\Interfaces\HasPa...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Catalogs.php
src/AmoCRM/EntitiesServices/Catalogs.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\CatalogsCollection; use AmoCRM\EntitiesServices\Interfaces\HasP...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Currencies.php
src/AmoCRM/EntitiesServices/Currencies.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\CurrenciesCollection; use AmoCRM\Filters\CurrenciesFilter; use AmoCRM\Models\CurrencyModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\EntitiesServ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Companies.php
src/AmoCRM/EntitiesServices/Companies.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\EntitiesServices\Traits\LinkMethodsTrait; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\CompaniesC...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/BaseEntityTypeEntityIdEntity.php
src/AmoCRM/EntitiesServices/BaseEntityTypeEntityIdEntity.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Exceptions\InvalidArgumentException; /** * Class BaseEntityTypeEntityIdEntity * * @package AmoCRM\EntitiesServices */ abstract class BaseEntityTypeEntityIdEntity extends BaseEntityIdEntity { protected $entityType = ''; /** ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/BaseEntityTypeEntity.php
src/AmoCRM/EntitiesServices/BaseEntityTypeEntity.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Exceptions\InvalidArgumentException; /** * Class BaseEntityTypeEntity * * @package AmoCRM\EntitiesServices */ abstract class BaseEntityTypeEntity extends BaseEntity { protected $entityType = ''; /** * @param string $entityType * * @retur...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Links.php
src/AmoCRM/EntitiesServices/Links.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCR...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Unsorted.php
src/AmoCRM/EntitiesServices/Unsorted.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\ContactsCollection; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\Leads\Uns...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/CustomFieldGroups.php
src/AmoCRM/EntitiesServices/CustomFieldGroups.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\Bas...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Tasks.php
src/AmoCRM/EntitiesServices/Tasks.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\TasksCollection; use AmoCRM\EntitiesServices\Interfaces\HasPage...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Calls.php
src/AmoCRM/EntitiesServices/Calls.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\CallsCollection; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Leads.php
src/AmoCRM/EntitiesServices/Leads.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\ContactsCollection; use AmoCRM\EntitiesServices\Traits\LinkMethodsTrait; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Cli...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/HasDeleteMethodInterface.php
src/AmoCRM/EntitiesServices/HasDeleteMethodInterface.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Models\BaseApiModel; /** * Interface HasDeleteMethodInterface * Нужен в тех сервисах, где есть поддержка DELETE запросов у сущностей * @package AmoCRM\EntitiesServices */ interface HasDeleteMethodInterface { /** ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Talks.php
src/AmoCRM/EntitiesServices/Talks.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Models\TalkModel; use AmoCRM\Models\Talks\TalkCloseActionModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/BaseEntityIdEntity.php
src/AmoCRM/EntitiesServices/BaseEntityIdEntity.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Exceptions\NotAvailableForActionException; /** * Class BaseEntityIdEntity * * @package AmoCRM\EntitiesServices */ abstract class BaseEntityIdEntity extends BaseEntity { /** * @var int */ protected $entityId = 0; /** * @param int $ent...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/ShortLinks.php
src/AmoCRM/EntitiesServices/ShortLinks.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\ShortLinks\ShortLinksCollection; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Exceptions\CollectionKeysNotSequentialException; use Amo...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/EntityTags.php
src/AmoCRM/EntitiesServices/EntityTags.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\Bas...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Segments.php
src/AmoCRM/EntitiesServices/Segments.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Products.php
src/AmoCRM/EntitiesServices/Products.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Models\ProductsSettingsModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMApiNoContentException; use AmoCRM\Exceptions\AmoCRMoAuthApiExce...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Roles.php
src/AmoCRM/EntitiesServices/Roles.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\UsersCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Clien...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Sources.php
src/AmoCRM/EntitiesServices/Sources.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\SourcesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Filters\SourcesFilter...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/HasLinkMethodInterface.php
src/AmoCRM/EntitiesServices/HasLinkMethodInterface.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\LinksCollection; use AmoCRM\Filters\LinksFilter; use AmoCRM\Models\BaseApiModel; /** * Interface HasLinkMethodInterface * Нужен в тех сервисах, где есть методы link/unlink у сущностей * @package AmoCRM\EntitiesServices */ interface HasLinkMethodInte...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/CustomFields.php
src/AmoCRM/EntitiesServices/CustomFields.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Exceptions\BadTypeException; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Exceptions\NotAvailableForActionException; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoC...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/EntitySubscriptions.php
src/AmoCRM/EntitiesServices/EntitySubscriptions.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Models\SubscriptionModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\SubscriptionsCollection; use AmoCRM\EntitiesServices\Interfaces\HasPageMethods...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/CatalogElements.php
src/AmoCRM/EntitiesServices/CatalogElements.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Collections\LinksCollection; use AmoCRM\EntitiesServices\Traits\LinkMethodsTrait; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiColle...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Files.php
src/AmoCRM/EntitiesServices/Files.php
<?php namespace AmoCRM\EntitiesServices; use AmoCRM\Filters\FilesFilter; use AmoCRM\Models\Files\FileModel; use AmoCRM\Models\Files\FileUploadModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\FilesCollection; use AmoCRM\Entit...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/EntityFiles.php
src/AmoCRM/EntitiesServices/EntityFiles.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\FileLinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use A...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Sources/WebsiteButtons.php
src/AmoCRM/EntitiesServices/Sources/WebsiteButtons.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices\Sources; use AmoCRM\Collections\Sources\WebsiteButtonsCollection; use AmoCRM\Models\Sources\WebsiteButtonModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\EntitiesServices...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Interfaces/HasPageMethodsInterface.php
src/AmoCRM/EntitiesServices/Interfaces/HasPageMethodsInterface.php
<?php namespace AmoCRM\EntitiesServices\Interfaces; use AmoCRM\Collections\Interfaces\HasPagesInterface; /** * Интерфейс для сервисов, которые поддерживают постраничную навигацию * @package AmoCRM\EntitiesServices\Interfaces */ interface HasPageMethodsInterface { /** * @param HasPagesInterface $collectio...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Interfaces/HasParentEntity.php
src/AmoCRM/EntitiesServices/Interfaces/HasParentEntity.php
<?php namespace AmoCRM\EntitiesServices\Interfaces; /** * Интерфейс для сервисов, у которых сущность имеет родительскую сущность * @package AmoCRM\EntitiesServices\Interfaces */ interface HasParentEntity { public const ID_KEY = 'id'; public const PARENT_ID_KEY = 'parent_id'; }
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Chats/Templates.php
src/AmoCRM/EntitiesServices/Chats/Templates.php
<?php declare(strict_types=1); namespace AmoCRM\EntitiesServices\Chats; use AmoCRM\Collections\Chats\Templates\Buttons\ButtonsCollection; use AmoCRM\Collections\Chats\Templates\ReviewsCollection; use AmoCRM\Collections\Chats\Templates\TemplatesCollection; use AmoCRM\EntitiesServices\BaseEntity; use AmoCRM\EntitiesSe...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php
src/AmoCRM/EntitiesServices/Traits/PageMethodsTrait.php
<?php namespace AmoCRM\EntitiesServices\Traits; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\Interfaces\HasPagesInterface; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMApiPageNotAvailableException; use AmoCRM\Exceptions\AmoCRMoAuthApiExc...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Traits/WithParentEntityMethodsTrait.php
src/AmoCRM/EntitiesServices/Traits/WithParentEntityMethodsTrait.php
<?php namespace AmoCRM\EntitiesServices\Traits; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\EntitiesServices\Interfaces\HasParentEntity; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Exceptions\InvalidArgumentException;...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Traits/LinkMethodsTrait.php
src/AmoCRM/EntitiesServices/Traits/LinkMethodsTrait.php
<?php namespace AmoCRM\EntitiesServices\Traits; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMApiNoContentException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Exceptions\InvalidArgumentException; use Am...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Customers/BonusPoints.php
src/AmoCRM/EntitiesServices/Customers/BonusPoints.php
<?php namespace AmoCRM\EntitiesServices\Customers; use AmoCRM\Models\Customers\BonusPointsActionModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMApiNoContentException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Customers/Statuses.php
src/AmoCRM/EntitiesServices/Customers/Statuses.php
<?php namespace AmoCRM\EntitiesServices\Customers; use AmoCRM\Collections\Customers\Statuses\StatusesCollection; use AmoCRM\EntitiesServices\BaseEntity; use AmoCRM\EntitiesServices\HasDeleteMethodInterface; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Customers/Customers.php
src/AmoCRM/EntitiesServices/Customers/Customers.php
<?php namespace AmoCRM\EntitiesServices\Customers; use AmoCRM\EntitiesServices\HasLinkMethodInterface; use AmoCRM\EntitiesServices\Traits\LinkMethodsTrait; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMApiNoContentException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Filters\Bas...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Customers/Transactions.php
src/AmoCRM/EntitiesServices/Customers/Transactions.php
<?php namespace AmoCRM\EntitiesServices\Customers; use AmoCRM\EntitiesServices\BaseEntity; use AmoCRM\EntitiesServices\HasDeleteMethodInterface; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\B...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Leads/Statuses.php
src/AmoCRM/EntitiesServices/Leads/Statuses.php
<?php namespace AmoCRM\EntitiesServices\Leads; use AmoCRM\Collections\Leads\Pipelines\Statuses\StatusesDescriptionsCollection; use AmoCRM\EntitiesServices\HasDeleteMethodInterface; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRM...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Leads/Pipelines.php
src/AmoCRM/EntitiesServices/Leads/Pipelines.php
<?php namespace AmoCRM\EntitiesServices\Leads; use AmoCRM\Collections\Leads\Pipelines\Statuses\StatusesCollection; use AmoCRM\EntitiesServices\HasDeleteMethodInterface; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/src/AmoCRM/EntitiesServices/Leads/LossReasons.php
src/AmoCRM/EntitiesServices/Leads/LossReasons.php
<?php namespace AmoCRM\EntitiesServices\Leads; use AmoCRM\EntitiesServices\HasDeleteMethodInterface; use AmoCRM\Filters\BaseEntityFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\Collections\BaseApiCollection; use AmoCRM\Collections\Lea...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/NoteTypes/CommonNoteTest.php
tests/Cases/NoteTypes/CommonNoteTest.php
<?php declare(strict_types=1); namespace Cases\NoteTypes; use AmoCRM\Models\Factories\NoteFactory; use AmoCRM\Models\NoteType\CommonNote; use PHPUnit\Framework\TestCase; final class CommonNoteTest extends TestCase { public function testCanBeCreatedFromValidNote(): void { $id = 1254829; $entit...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/NoteTypes/CallInNoteTest.php
tests/Cases/NoteTypes/CallInNoteTest.php
<?php declare(strict_types=1); namespace Cases\NoteTypes; use AmoCRM\Models\Factories\NoteFactory; use AmoCRM\Models\Interfaces\CallInterface; use AmoCRM\Models\NoteType\CallInNote; use PHPUnit\Framework\TestCase; final class CallInNoteTest extends TestCase { public function testCanBeCreatedFromValidNote(): void...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/AmoCRM/Collections/Leads/LeadsCollectionTest.php
tests/Cases/AmoCRM/Collections/Leads/LeadsCollectionTest.php
<?php declare(strict_types=1); namespace Cases\AmoCRM\Collections\Leads; use AmoCRM\Collections\Leads\LeadsCollection; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Models\LeadModel; use PHPUnit\Framework\TestCase; use function time; class LeadsCollectionTest extends TestCase { /** @var LeadsColle...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/AmoCRM/Client/AmoCRMApiClientTest.php
tests/Cases/AmoCRM/Client/AmoCRMApiClientTest.php
<?php declare(strict_types=1); namespace Cases\AmoCRM\Client; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\AmoCRMApiRequest; use AmoCRM\EntitiesServices\Account; use AmoCRM\EntitiesServices\CatalogElements; use AmoCRM\EntitiesServices\Catalogs; use AmoCRM\EntitiesServices\Companies; use AmoCRM\EntitiesServic...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/AmoCRM/OAuth/AmoCRMOAuth.php
tests/Cases/AmoCRM/OAuth/AmoCRMOAuth.php
<?php declare(strict_types=1); namespace Cases\AmoCRM\OAuth; use Lcobucci\JWT\Validation\Constraint\ValidAt; use Lcobucci\JWT\Validation\Constraint\LooseValidAt; use Lcobucci\JWT\Validation\Constraint; use PHPUnit\Framework\TestCase; use ReflectionClass; class AmoCRMOAuth extends TestCase { public function test...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/AmoCRM/Models/NoteModelTest.php
tests/Cases/AmoCRM/Models/NoteModelTest.php
<?php declare(strict_types=1); namespace Cases\AmoCRM\Models; use AmoCRM\Models\NoteType\CallInNote; use PHPUnit\Framework\TestCase; use TypeError; final class NoteModelTest extends TestCase { public function testCannotBeCreatedFromInvalidNote(): void { $note = [ 'id' => 0, '...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/AmoCRM/Models/CustomFieldsValues/ValueModel/DateCustomFieldValueModelTest.php
tests/Cases/AmoCRM/Models/CustomFieldsValues/ValueModel/DateCustomFieldValueModelTest.php
<?php declare(strict_types=1); namespace Cases\AmoCRM\Models\CustomFieldsValues\ValueModel; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Models\CustomFieldsValues\ValueModels\DateCustomFieldValueModel; use Carbon\Carbon; use DateTime; use DateTimeInterface; use PHPUnit\Framework\TestCase; use stdClass;...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/AmoCRM/Filters/EventsFilterTest.php
tests/Cases/AmoCRM/Filters/EventsFilterTest.php
<?php declare(strict_types=1); namespace Cases\AmoCRM\Filters; use AmoCRM\Filters\EventsFilter; use PHPUnit\Framework\TestCase; class EventsFilterTest extends TestCase { /** * @var EventsFilter */ private $eventsFilter; public function setUp(): void { $this->eventsFilter = new Eve...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/AmoCRM/Filters/LeadsFilterTest.php
tests/Cases/AmoCRM/Filters/LeadsFilterTest.php
<?php declare(strict_types=1); namespace Cases\AmoCRM\Filters; use AmoCRM\Filters\BaseRangeFilter; use AmoCRM\Filters\LeadsFilter; use PHPUnit\Framework\TestCase; use stdClass; use TypeError; class LeadsFilterTest extends TestCase { /** * @var LeadsFilter */ private $leadsFilter; public funct...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/CustomField/NestedFieldTest.php
tests/Cases/CustomField/NestedFieldTest.php
<?php declare(strict_types=1); namespace Cases\CustomField; use AmoCRM\Exceptions\InvalidArgumentException; use AmoCRM\Models\CustomFields\NestedModel; use PHPUnit\Framework\TestCase; class NestedFieldTest extends TestCase { /** * @return array */ public function getInvalidRequestIdData(): array ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/tests/Cases/Rights/CatalogRightsTest.php
tests/Cases/Rights/CatalogRightsTest.php
<?php declare(strict_types=1); namespace Cases\Rights; use AmoCRM\Models\Rights\RightModel; use PHPUnit\Framework\TestCase; use function reset; class CatalogRightsTest extends TestCase { public function getPriorityRightsData(): array { $rightsData = []; $caseAllOk = [ [ ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/contacts_actions.php
examples/contacts_actions.php
<?php use AmoCRM\Collections\ContactsCollection; use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\ContactsFilter; use AmoCRM\Models\ContactModel; use AmoCRM\Models\CustomFieldsValues\MultitextCustomFieldValuesModel; use AmoCRM\Models\CustomFieldsValues\ValueCollectio...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/tasks_actions.php
examples/tasks_actions.php
<?php use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Collections\TasksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\TaskModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessTok...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/pipelines_actions.php
examples/pipelines_actions.php
<?php use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Collections\Leads\Pipelines\PipelinesCollection; use AmoCRM\Collections\Leads\Pipelines\Statuses\StatusesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\Leads\Pipelines\PipelineModel; use AmoCRM\Models\Leads\Pipelines\Statuses\StatusModel; use...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/leads_complex_actions.php
examples/leads_complex_actions.php
<?php use AmoCRM\Collections\ContactsCollection; use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Collections\Leads\LeadsCollection; use AmoCRM\Collections\TagsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\CompanyModel; use AmoCRM\Models\ContactModel; use AmoCRM\Models\CustomFi...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/user_context_actions.php
examples/user_context_actions.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAccountBaseDomain($accessToken->getValues()['baseDomain']) ->onAccessTokenRefresh( fu...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/invoices_actions.php
examples/invoices_actions.php
<?php use AmoCRM\Enum\Invoices\BillStatusEnumCode; use AmoCRM\Collections\LinksCollection; use AmoCRM\Filters\CatalogsFilter; use AmoCRM\Models\CustomFieldsValues\LinkedEntityCustomFieldValuesModel; use AmoCRM\Models\CustomFieldsValues\NumericCustomFieldValuesModel; use AmoCRM\Models\CustomFieldsValues\ValueCollection...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/long_lived_token.php
examples/long_lived_token.php
<?php use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Client\LongLivedAccessToken; use AmoCRM\Exceptions\AmoCRMApiException; include_once __DIR__ . '/../vendor/autoload.php'; include_once __DIR__ . '/error_printer.php'; $accessToken = 'XXX'; $accountUrl = 'example.amocrm.ru'; $apiClient = new AmoCRMApiClient(); try {...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/statuses_actions.php
examples/statuses_actions.php
<?php use AmoCRM\Collections\Leads\Pipelines\Statuses\StatusesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\Leads\Pipelines\PipelineModel; use AmoCRM\Models\Leads\Pipelines\Statuses\StatusModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $a...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/get_token.php
examples/get_token.php
<?php include_once __DIR__ . '/bootstrap.php'; session_start(); if (isset($_GET['referer'])) { $apiClient->setAccountBaseDomain($_GET['referer']); } if (!isset($_GET['code'])) { $state = bin2hex(random_bytes(16)); $_SESSION['oauth2state'] = $state; if (isset($_GET['button'])) { echo $apiCli...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/catalogs_actions.php
examples/catalogs_actions.php
<?php use AmoCRM\Filters\CatalogsFilter; use AmoCRM\Collections\CustomFields\CustomFieldNestedCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\CatalogModel; use AmoCRM\Models\CustomFields\CategoryCustomFieldModel; use AmoCRM\Models\CustomFields\NestedMode...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/currencies_actions.php
examples/currencies_actions.php
<?php /** @since Release Spring 2022 */ use AmoCRM\Filters\CurrenciesFilter; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Exceptions\AmoCRMApiException; use League\OAuth2\Client\Token\AccessTokenInterface; /** @var AmoCRMApiClient $apiClient */ include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/chained_list_custom_field_actions.php
examples/chained_list_custom_field_actions.php
<?php /** @since Release Spring 2022 */ use AmoCRM\Models\CustomFields\ChainedListCustomFieldModel; use AmoCRM\Models\CustomFields\ChainedLists; use AmoCRM\Models\CustomFieldsValues\ChainedListCustomFieldValuesModel; use AmoCRM\Models\CustomFieldsValues\ValueCollections\ChainedListCustomFieldValueCollection; use AmoC...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/transactions_actions.php
examples/transactions_actions.php
<?php use AmoCRM\Collections\CatalogElementsCollection; use AmoCRM\Collections\Customers\Transactions\TransactionsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\CatalogElementModel; use AmoCRM\Models\Customers\Transactions\TransactionModel; use League\OAuth2\Client\Token\AccessTokenInterface; ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/subscriptions_actions.php
examples/subscriptions_actions.php
<?php declare(strict_types=1); use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\PagesFilter; use AmoCRM\Helpers\EntityTypesInterface; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; /** @var \AmoCRM\Client\AmoCRMApiClient $apiClient */ $accessToken = getToke...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/short_links_actions.php
examples/short_links_actions.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\ShortLinks\ShortLinkModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAccountBase...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/unsorted_actions.php
examples/unsorted_actions.php
<?php use AmoCRM\Filters\BaseRangeFilter; use AmoCRM\Filters\Interfaces\HasOrderInterface; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\CustomFieldsValues\MultitextCustomFieldValuesModel; use AmoCRM\Models\CustomFieldsValues\ValueCollections\MultitextCustomFieldValueCollection; use AmoCRM\Models\CustomFi...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/users_actions.php
examples/users_actions.php
<?php use AmoCRM\Collections\UsersCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\Rights\RightModel; use AmoCRM\Models\UserModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/companies_actions.php
examples/companies_actions.php
<?php use AmoCRM\Collections\CatalogElementsCollection; use AmoCRM\Collections\CompaniesCollection; use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\CatalogElementsFilter; use AmoCRM\Filters\CompaniesFilter; use AmoCRM\Models\CompanyModel; use League\OAuth2\Client\To...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/links_mass_actions.php
examples/links_mass_actions.php
<?php use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\EntitiesLinksFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\LinkModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstr...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/token_actions.php
examples/token_actions.php
<?php use League\OAuth2\Client\Token\AccessToken; define('TOKEN_FILE', DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'token_info.json'); /** * @param array $accessToken */ function saveToken($accessToken) { if ( isset($accessToken) && isset($accessToken['accessToken']) && isset($a...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/sources_actions.php
examples/sources_actions.php
<?php use AmoCRM\Enum\Sources\SourceServiceTypeEnum; use AmoCRM\Collections\Sources\SourceServicesCollection; use AmoCRM\Collections\Sources\SourceServicesPagesCollection; use AmoCRM\Collections\SourcesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\SourceModel; use AmoCRM\Models\Sources\Source...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/monetary_custom_field_actions.php
examples/monetary_custom_field_actions.php
<?php /** @since Release Spring 2022 */ use AmoCRM\Models\CustomFields\MonetaryCustomFieldModel; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\LeadsFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\LeadModel; use League\OAuth2\Client\Token\AccessToken...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/widgets_actions.php
examples/widgets_actions.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAccountBaseDomain($accessToken->getValues()['baseDomain']) ->onAccessTokenRefresh( fu...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/custom_field_select_actions.php
examples/custom_field_select_actions.php
<?php /** @since Release Spring 2022 */ use AmoCRM\Enum\Invoices\BillStatusEnumCode; use AmoCRM\Client\AmoCRMApiClient; use AmoCRM\Collections\CustomFields\CustomFieldEnumsCollection; use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Enum\InvoicesCustomFieldsEnums; use AmoCRM\Filters\CatalogsFilter; use...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/links_chat_actions.php
examples/links_chat_actions.php
<?php use AmoCRM\Collections\ChatLinksCollection; use AmoCRM\Models\ChatLinkModel; use AmoCRM\Exceptions\AmoCRMApiException; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAccountBaseDomain($a...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/notes_actions.php
examples/notes_actions.php
<?php use AmoCRM\EntitiesServices\Interfaces\HasParentEntity; use AmoCRM\Filters\NotesFilter; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Collections\NotesCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\Factories\NoteFactory; use AmoCRM\Models\Interfaces\CallInterface; use AmoCRM\Models...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/files_actions.php
examples/files_actions.php
<?php use AmoCRM\Collections\FileLinksCollection; use AmoCRM\Filters\FilesFilter; use AmoCRM\Models\FileLinkModel; use AmoCRM\Models\Files\FileModel; use AmoCRM\Models\Files\FileUploadModel; use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Enum\Chats\Templates\Attachment\TypesEnum; use AmoCRM\Exceptions...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/exchange_api_key.php
examples/exchange_api_key.php
<?php use AmoCRM\Exceptions\AmoCRMApiException; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->setAccessToken($accessToken) ->setAccountBaseDomain($accessToken->getValues()['baseDomain']) ->onAccessTokenRefresh( fu...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/catalog_rights.php
examples/catalog_rights.php
<?php declare(strict_types=1); use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Models\Rights\RightModel; use AmoCRM\Models\UserModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); /** @var \AmoCRM\Client\AmoCRMApiClient $apiClient */ $a...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/error_printer.php
examples/error_printer.php
<?php use AmoCRM\Exceptions\AmoCRMApiErrorResponseException; use AmoCRM\Exceptions\AmoCRMApiException; function printError(AmoCRMApiException $e): void { $errorTitle = $e->getTitle(); $code = $e->getCode(); $debugInfo = var_export($e->getLastRequestInfo(), true); $validationErrors = null; if ($e ...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/website_buttons_actions.php
examples/website_buttons_actions.php
<?php declare(strict_types=1); use AmoCRM\Models\Sources\WebsiteButtonCreateRequestModel; use AmoCRM\Models\Sources\WebsiteButtonModel; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\PagesFilter; use AmoCRM\Models\Sources\WebsiteButtonUpdateRequestModel; use League\OAuth2\Client\Token\AccessTokenInterfa...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/custom_fields_actions.php
examples/custom_fields_actions.php
<?php use AmoCRM\Collections\CustomFields\CustomFieldEnumsCollection; use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Collections\CustomFields\CustomFieldsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\CustomFieldsFilter; use AmoCRM\Models\CustomFields\CheckboxCustomFieldModel; use AmoCRM...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/leads_actions.php
examples/leads_actions.php
<?php use AmoCRM\Collections\ContactsCollection; use AmoCRM\Collections\CustomFieldsValuesCollection; use AmoCRM\Collections\Leads\LeadsCollection; use AmoCRM\Collections\LinksCollection; use AmoCRM\Collections\NullTagsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Filters\LeadsFilter; use AmoCRM\Mod...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/custom_field_groups_actions.php
examples/custom_field_groups_actions.php
<?php use AmoCRM\Helpers\EntityTypesInterface; use AmoCRM\Collections\CustomFieldGroupsCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Models\CustomFieldGroupModel; use League\OAuth2\Client\Token\AccessTokenInterface; include_once __DIR__ . '/bootstrap.php'; $accessToken = getToken(); $apiClient->s...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/catalogs_elements_actions.php
examples/catalogs_elements_actions.php
<?php use AmoCRM\Collections\CatalogElementsCollection; use AmoCRM\Collections\LinksCollection; use AmoCRM\Exceptions\AmoCRMApiException; use AmoCRM\Exceptions\AmoCRMoAuthApiException; use AmoCRM\Filters\CatalogElementsFilter; use AmoCRM\Models\CatalogElementModel; use GuzzleHttp\Exception\ConnectException; use League...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false
amocrm/amocrm-api-php
https://github.com/amocrm/amocrm-api-php/blob/3f6fde8afa9df42a66773b0a239e3b42a769b55c/examples/bootstrap.php
examples/bootstrap.php
<?php use AmoCRM\Client\AmoCRMApiClient; use Symfony\Component\Dotenv\Dotenv; include_once __DIR__ . '/../vendor/autoload.php'; $dotenv = new Dotenv(); $dotenv->load(__DIR__ . '/.env.dist', __DIR__ . '/.env'); $clientId = $_ENV['CLIENT_ID']; $clientSecret = $_ENV['CLIENT_SECRET']; $redirectUri = $_ENV['CLIENT_REDIR...
php
MIT
3f6fde8afa9df42a66773b0a239e3b42a769b55c
2026-01-05T03:19:54.080276Z
false