From 051cf47a36eece304f166a63e3ffcdae0ca186d4 Mon Sep 17 00:00:00 2001 From: michalsn Date: Mon, 22 Apr 2024 16:12:58 +0200 Subject: [PATCH] update requirements --- .github/workflows/php.yml | 4 ++-- README.md | 11 +++++++++-- composer.json | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 9ac0a66..0e81cd9 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -2,7 +2,7 @@ name: PHP Tests on: push: - branches: + branches: - develop pull_request: branches: @@ -27,7 +27,7 @@ jobs: strategy: matrix: - php-versions: ['8.1'] + php-versions: ['8.1', '8.2', '8.3'] steps: - name: Checkout diff --git a/README.md b/README.md index 95000a1..807f1c6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This package make it easy to work with UUIDs in Codeigniter 4. It provide four c ## Installation via composer - > composer require michalsn/codeigniter4-uuid + composer require michalsn/codeigniter4-uuid ## Manual installation @@ -22,6 +22,13 @@ $psr4 = [ ]; ``` +## Versions + +| CodeIgniter version | This package version | +|---------------------|----------------------| +| `>= 4.5` | `>= 1.1` | +| `< 4.5` | `< 1.1` | + ## How to use it In general, using `UuidModel` and `UuidEntity` is no much different than using the original classes provided with CodeIgniter 4 framework. We just have some additional config options. There is a good chance that you will not need to use `Uuid` class at all, because most of the things that happens are already automated. @@ -210,4 +217,4 @@ For now this class doesn't support SQLite3 database when you want to strore UUID ## License -The MIT License (MIT). Please see [License File](LICENSE) for more information. \ No newline at end of file +The MIT License (MIT). Please see [License File](LICENSE) for more information. diff --git a/composer.json b/composer.json index 1a7c6da..d9b6871 100644 --- a/composer.json +++ b/composer.json @@ -20,8 +20,8 @@ } ], "require": { - "php" : ">=7.3", - "ramsey/uuid": "^4.0" + "php": ">=8.1", + "ramsey/uuid": "^4.7" }, "minimum-stability": "dev", "require-dev": {