OpenXE/vendor/datto/json-rpc-http/examples
2021-05-21 08:49:41 +02:00
..
src Initial xentral_oss_20.3.c9ffacf 2021-05-21 08:49:41 +02:00
client.php Initial xentral_oss_20.3.c9ffacf 2021-05-21 08:49:41 +02:00
README.md Initial xentral_oss_20.3.c9ffacf 2021-05-21 08:49:41 +02:00
server.php Initial xentral_oss_20.3.c9ffacf 2021-05-21 08:49:41 +02:00

Examples

Run the examples

Start in the project directory. Make sure you install the Composer dependencies:

composer install

Then, in a new terminal, start the example server (and leave it running):

php -S localhost:8080 examples/server.php

Now run the examples!

php examples/client.php

Extend the examples

Start by looking in the "examples/src" directory. Then replace it all with your project code.