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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

response:

refreshing jwt token

url: /api/token/refresh

method: POST

body:

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

PHP Build Version
Package Version
Requires php Version >=7.1
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dataworksbi/open-loyalty-framework contains the following files

Loading the files please wait ....