October 2016
Intermediate to advanced
320 pages
6h 39m
English
We will start by implementing the inventory service, as it will use a simple request/reply pattern for communication and it does not have any other dependencies.
Start by creating the service's composer.json file in the inventory/ directory:
{
"name": "packt-php7/chp7-inventory",
"type": "project",
"authors": [{
"name": "Martin Helmich",
"email": "php7-book@martin-helmich.de"
}],
"require": {
"php": ">= 7.0",
"ext-zmq": "*"
},
"autoload": {
"psr-4": {
"Packt\\Chp7\\Inventory": "src/"
}
}
}
After creating the composer.json file, install the project's dependencies using the composer install command on a command line within the inventory/ directory.
Let's start by creating a ...
Read now
Unlock full access