File tree Expand file tree Collapse file tree 3 files changed +32
-8
lines changed Expand file tree Collapse file tree 3 files changed +32
-8
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,14 @@ composer.lock
1515/coverage
1616.DS_Store
1717* .cache
18- /runtime
18+ /runtime
19+
20+ # Binaries
21+ /rr
22+ /rr.exe
23+ /protoc
24+ /protoc.exe
25+ /protoc-gen-php-grpc
26+ /protoc-gen-php-grpc.exe
27+ /temporal
28+ /temporal.exe
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ php artisan vendor:publish --provider='Spiral\RoadRunnerLaravel\ServiceProvider'
4848## Usage
4949
5050After package installation, you can download and install [ RoadRunner] [ roadrunner ] binary
51- using [ roadrunner-cli ] [ roadrunner-cli ] :
51+ using Composer script :
5252
5353``` bash
54- ./vendor/bin/rr get
54+ composer get:rr
5555```
5656
5757### Basic Configuration (.rr.yaml)
@@ -263,9 +263,22 @@ return [
263263];
264264` ` `
265265
266+ Download Temporal binary for development purposes using the following command :
267+
268+ ` ` ` bash
269+ composer get:temporal
270+ ` ` `
271+
272+ To start the Temporal server, you can use the following command :
273+
274+ ` ` ` bash
275+ ./temporal server start-dev --log-level error --color always
276+ ` ` `
277+
266278# ### Useful links
267279
268- - [PHP SDK docs](https://docs.temporal.io/develop/php/)
280+ - [PHP SDK on GitHub](https://github.com/temporalio/sdk-php)
281+ - [PHP SDK docs](https://docs.temporal.io/develop/php/)
269282- [Code samples](https://github.com/temporalio/samples-php)
270283- [Taxi service sample](https://github.com/butschster/podlodka-taxi-service)
271284
@@ -373,6 +386,4 @@ MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information.
373386
374387[laravel_events]:https://laravel.com/docs/events
375388
376- [roadrunner-cli]:https://github.com/spiral/roadrunner-cli
377-
378389[roadrunner-binary-releases]:https://github.com/roadrunner-server/roadrunner/releases
Original file line number Diff line number Diff line change 3535 ],
3636 "require" : {
3737 "php" : " ^8.2" ,
38- "spiral/roadrunner-cli" : " ^2.7" ,
3938 "spiral/roadrunner-kv" : " ^4.0" ,
4039 "spiral/roadrunner-jobs" : " ^4.0" ,
4140 "spiral/roadrunner-grpc" : " ^3.5" ,
4241 "laravel/octane" : " ^2.9" ,
4342 "spiral/roadrunner-http" : " ^3.0" ,
4443 "spiral/roadrunner-worker" : " ^3.0" ,
45- "temporal/sdk" : " ^2.0"
44+ "temporal/sdk" : " ^2.0" ,
45+ "internal/dload" : " ^1.1"
4646 },
4747 "require-dev" : {
4848 "laravel/framework" : " ^12.0" ,
6767 " bin/rr-worker"
6868 ],
6969 "scripts" : {
70+ "get:rr" : " dload get rr" ,
71+ "get:temporal" : " dload get temporal" ,
72+ "get:protoc" : " dload get protoc protoc-gen-php-grpc" ,
7073 "cs-check" : " vendor/bin/php-cs-fixer fix --dry-run" ,
7174 "cs-fix" : " vendor/bin/php-cs-fixer fix" ,
7275 "refactor" : " rector process --config=rector.php" ,
You can’t perform that action at this time.
0 commit comments