Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LTO Network - Event Chain Service

See https://legalthings.github.io/livecontracts-specs/01-event-chain/

Requirements

Required PHP extensions are marked by composer

Installation

The LTO full node contains the workflow engine. See how to setup a node.

Alternatively; clone from GitHub for development

git clone git@github.com:legalthings/event-chain.git
cd event-chain
composer install
bin/codecept build

Tests

The code is analysed using PHPStan (static code analyses) and PHP Code Sniffer (coding style).

Before running the test for the first time run bin/codecept build.

Testing is done using the Codeception test framework. The project contains unit and api tests, plus tests for integration with workflow engine.

Do a full analysis and run tests with

composer test

Serve

To serve the project on localhost run

php -S localhost:4000 -t www

Note, it's preferable to work TDD and use tests when developing. This means you would hardly ever need to run this service localy.

About

LTO Network - Demo Event Chain worker and web service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages