mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 12:37:14 +01:00
25 lines
451 B
Markdown
25 lines
451 B
Markdown
|
# Examples
|
||
|
|
||
|
## Run the examples
|
||
|
|
||
|
Start in the project directory. Make sure you install the Composer dependencies:
|
||
|
```bash
|
||
|
composer install
|
||
|
```
|
||
|
|
||
|
Then, in a new terminal, start the example server (and leave it running):
|
||
|
```bash
|
||
|
php -S localhost:8080 examples/server.php
|
||
|
```
|
||
|
|
||
|
Now run the examples!
|
||
|
```bash
|
||
|
php examples/client.php
|
||
|
```
|
||
|
|
||
|
|
||
|
## Extend the examples
|
||
|
|
||
|
Start by looking in the "examples/src" directory. Then replace it all with your
|
||
|
project code.
|