From 58db825d04a0fc0df2f4169bdd807310c923ccc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Wed, 16 Feb 2022 14:04:04 +0100 Subject: [PATCH] Update installation instructions for react/async development version --- docs/async/fibers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/async/fibers.md b/docs/async/fibers.md index 263c9b8..bbd284c 100644 --- a/docs/async/fibers.md +++ b/docs/async/fibers.md @@ -54,7 +54,7 @@ At the moment, fibers are available as a development version by installing like this: ```bash -$ composer require react/async:dev-main +$ composer require react/async:^4@dev ``` Installing this package version requires PHP 8.1+ (2021-11-25) as fibers are a @@ -71,7 +71,7 @@ limited concurrency. You can install either supported development version like this: ```bash -$ composer require react/async:"dev-main || 3.x-dev" +$ composer require react/async:"^4@dev || ^3@dev" ``` This way, you have a much smoother upgrade path, as you can already start using