Download the PHP package dataworksbi/open-loyalty-framework without Composer
On this page you can find all versions of the php package dataworksbi/open-loyalty-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package open-loyalty-framework
api login
jwt token structure
obtaining jwt token
admin url: /api/admin/login_check customer url: /api/customer/login_check seller url: /api/seller/login_check
method: POST
body:
- _username: admin
- _password: open
response:
refreshing jwt token
url: /api/token/refresh
method: POST
body:
- refresh_token: 'token'
response:
events
system events
Proper listener should be created to handle system events. Example definition of such listener:
'oloy.customer.registered' - customer added to PL
Event class: OpenLoyalty\Domain\Customer\SystemEvent\CustomerRegisteredSystemEvent
'oloy.customer.updated'
Event class: OpenLoyalty\Domain\Customer\SystemEvent\CustomerUpdatedSystemEvent
'oloy.customer.agreements_updated'
Event class: OpenLoyalty\Domain\Customer\SystemEvent\CustomerAgreementsUpdatedSystemEvent
'oloy.customer.deactivated'
Event class: OpenLoyalty\Domain\Customer\SystemEvent\CustomerDeactivatedSystemEvent
'oloy.segment.customer_added_to_segment'
Event class: OpenLoyalty\Domain\Segment\SystemEvent\CustomerAddedToSegmentSystemEvent
'oloy.segment.customer_removed_from_segment'
Event class: OpenLoyalty\Domain\Segment\SystemEvent\CustomerRemovedFromSegmentSystemEvent
domain events
Proper listener should be created to handle domain events. This listener must implement Broadway\EventHandling\EventListenerInterface
Example definition of such listener:
OpenLoyalty\Domain\Customer\Event\CampaignWasBoughtByCustomer - dispatched when campaign was bought by customer
All versions of open-loyalty-framework with dependencies
ext-json Version *
ext-simplexml Version *
a2lix/translation-form-bundle Version ^3.0
beberlei/doctrineextensions Version ^1.0
broadway/broadway Version ^2.0.1
broadway/broadway-bundle Version ^0.4.1
broadway/uuid-generator Version ^0.4.0
broadway/read-model-elasticsearch Version ^0.3.0
broadway/event-store-dbal Version ^0.2.0
broadway/snapshotting Version ^0.2.0
doctrine/orm Version ^2.5
doctrine/doctrine-bundle Version ^1.6
doctrine/doctrine-cache-bundle Version ^1.2
doctrine/doctrine-fixtures-bundle Version ^2.3
elasticsearch/elasticsearch Version ^5.0
erusev/parsedown Version ^1.7
friendsofsymfony/rest-bundle Version ^2.0
fzaninotto/faker Version ^1.6
gesdinet/jwt-refresh-token-bundle Version ^0.1.7
gumlet/php-image-resize Version ^1.9
guzzlehttp/guzzle Version ~6.0
incenteev/composer-parameter-handler Version ^2.0
jms-serializer/serializer-bundle Version ^1.1
knplabs/doctrine-behaviors Version ~1.1
knplabs/knp-gaufrette-bundle Version ^0.3.0
lexik/jwt-authentication-bundle Version ^1.6
misd/phone-number-bundle Version ^1.3
nelmio/api-doc-bundle Version ^2.13
nelmio/cors-bundle Version ^1.4
ocramius/proxy-manager Version ^1.0
pixers/salesmanago-api Version 1.1.1
prewk/xml-string-streamer Version ^0.11.0
phpdocumentor/reflection-docblock Version ^3.2
phpdocumentor/type-resolver Version ^0.3
ramsey/uuid-doctrine Version 1.4.3
smsapi/php-client Version ^1.8
sensio/distribution-bundle Version ^5.0
sensio/framework-extra-bundle Version ^3.0.2
sensio/generator-bundle Version ^3.0
symfony/symfony Version 3.4.14
symfony/monolog-bundle Version ^2.8
symfony/polyfill-apcu Version ^1.0
symfony/swiftmailer-bundle Version ^2.3
doctrine/doctrine-migrations-bundle Version ^1.3