From 332424d5c453f740177b3c1d3ce12ef8e10be667 Mon Sep 17 00:00:00 2001 From: chipslays Date: Thu, 16 Feb 2023 12:44:16 +0400 Subject: [PATCH 1/4] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2fe4e0d..fd60825 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A simple PHP 8 websocket server and client wrapper over Workerman with events, c > **Note** > -> This library production ready, maintenance only bug fixes, no breaking changes updates. +> Latest version 1.2 production ready, maintenance only small features, bug fixes and **no breaking changes** updates. # 🧰 Installation From 941e3545eadfc86520539e2eae946480e856d1a9 Mon Sep 17 00:00:00 2001 From: chipslays Date: Thu, 16 Feb 2023 12:45:25 +0400 Subject: [PATCH 2/4] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd60825..442933e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A simple PHP 8 websocket server and client wrapper over Workerman with events, c > **Note** > -> Latest version 1.2 production ready, maintenance only small features, bug fixes and **no breaking changes** updates. +> Latest version 1.2 production ready, maintenance only small features, bug fixes and has **no breaking changes** updates. # 🧰 Installation From 1600d70597b8b467fc564c1de6ce708cc81a09ea Mon Sep 17 00:00:00 2001 From: chipslays Date: Thu, 16 Feb 2023 12:46:36 +0400 Subject: [PATCH 3/4] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 442933e..d1eea6e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A simple PHP 8 websocket server and client wrapper over Workerman with events, c > **Note** > -> Latest version 1.2 production ready, maintenance only small features, bug fixes and has **no breaking changes** updates. +> Latest version 1.2 is production ready, maintenance only small features, fix bugs and has **no breaking changes** updates. # 🧰 Installation From f964c8271f4a38bf515ca51bc0f4d0459434c8b7 Mon Sep 17 00:00:00 2001 From: chipslays Date: Thu, 16 Feb 2023 12:52:08 +0400 Subject: [PATCH 4/4] update readme --- examples/laravel/README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/laravel/README.md b/examples/laravel/README.md index f36dbbe..824402f 100644 --- a/examples/laravel/README.md +++ b/examples/laravel/README.md @@ -22,11 +22,14 @@ composer require chipslays/porter php vendor/bin/porter template:laravel ./websocket ``` -Tip: You can also create a event class. +> **Note** +> +> You can also create a event class by command: +> ```bash +> vendor/bin/porter make:event ./websocket/events/example.php "example event" +> ``` + -```bash -vendor/bin/porter make:event ./websocket/events/example.php "example event" -``` 4. Add variables to `.env` file. @@ -39,7 +42,9 @@ echo 'PORTER_CERTIFICATE=/etc/letsencrypt/live//cert.pem' >> .env echo 'PORTER_PRIVATE_KEY=/etc/letsencrypt/live//privkey.pem' >> .env ``` ->**NOTE:** On VPS with SSL certificate set `PORTER_TRANSPORT=ssl` and provide path to certs in `PORTER_CERTIFICATE` and `PORTER_PRIVATE_KEY`. +> **Warning** +> +> On VPS with SSL certificate set `PORTER_TRANSPORT=ssl` and provide path to certs in `PORTER_CERTIFICATE` and `PORTER_PRIVATE_KEY`. 5. Run websocket server.