diff --git a/README.md b/README.md index d9ef612..14b9bfb 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,6 @@ This package provides a convenient wrapper to the [Open Food Facts API](https:// - PHP 8.1+ - Laravel 9.x, 10.x, 11.x -*Legacy support (PHP 7.2+ on Laravel 5.7-8.x + PHP 8.0 on Laravel 9.x) at [v0.2.x](https://github.com/openfoodfacts/openfoodfacts-laravel/tree/v0.2.2).* - ## Installation You can install the package via composer: @@ -27,6 +25,12 @@ You can install the package via composer: composer require openfoodfacts/openfoodfacts-laravel ``` +#### Legacy support + +- PHP 8.0 (Laravel <=9.x): `composer require "openfoodfacts/openfoodfacts-laravel:^0.3"` +- PHP 7.2-7.4.x (Laravel 5.7-8.x): `composer require "openfoodfacts/openfoodfacts-laravel:^0.2"` + + ## Usage #### Find product details by barcode