See https://legalthings.github.io/livecontracts-specs/01-event-chain/
Required PHP extensions are marked by composer
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
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
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.