Skip to content

Commit

Permalink
updated legacy support info
Browse files Browse the repository at this point in the history
  • Loading branch information
epalmans committed May 1, 2024
1 parent 3f807af commit 3127f07
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 3127f07

Please sign in to comment.