Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Add PHP 8.3 support (#109)
Browse files Browse the repository at this point in the history
* Add PHP 8.3 support

* Replace support link: Patreon -> Buy Me a Coffee

* Add 8.3 to tests.yml

* Fix tests.yml

* Change README PHP version
  • Loading branch information
hitrov authored Dec 23, 2023
1 parent 1a655bf commit 369de7b
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 156 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1', '8.2']
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3']
name: integration-tests (PHP ${{ matrix.php-versions }})
steps:
- uses: actions/checkout@v1
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ Very neat and useful configuration was recently [announced](https://blogs.oracle

> Each tenancy gets the first 3,000 OCPU hours and 18,000 GB hours per month for free to create Ampere A1 Compute instances using the VM.Standard.A1.Flex shape (equivalent to 4 OCPUs and 24 GB of memory).
This approach requires **PHP 7.4 | 8.0 | 8.1 | 8.2** and **composer** installed and will call "LaunchInstance" OCI API [endpoint](https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance). We'll utilise the [package](https://packagist.org/packages/hitrov/oci-api-php-request-sign) which I've written (and [published](https://github.com/hitrov/oci-api-php-request-sign)) some time ago, here's the [article](https://hitrov.medium.com/creating-mini-php-sdk-to-sign-oracle-cloud-infrastructure-api-requests-d91a224c7008?sk=5b4405c1124bfeac30a370630fd94126).
This approach requires **PHP ^7.4...^8.3** and **composer** installed and will call "LaunchInstance" OCI API [endpoint](https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance). We'll utilise the [package](https://packagist.org/packages/hitrov/oci-api-php-request-sign) which I've written (and [published](https://github.com/hitrov/oci-api-php-request-sign)) some time ago, here's the [article](https://hitrov.medium.com/creating-mini-php-sdk-to-sign-oracle-cloud-infrastructure-api-requests-d91a224c7008?sk=5b4405c1124bfeac30a370630fd94126).

If you prefer article style, here's a link to [Medium](https://hitrov.medium.com/resolving-oracle-cloud-out-of-capacity-issue-and-getting-free-vps-with-4-arm-cores-24gb-of-6ecd5ede6fcc?sk=01d761f7cd80c77e0fed773972f4d1a8)

YouTube video instruction [https://youtu.be/uzAqgjElc64](https://youtu.be/uzAqgjElc64)
is a bit outdated regarding [Configuration](#configuration) but still can be useful for the rest.

If you appreciate what I did please consider supporting me on [Patreon](https://www.patreon.com/hitrov)
If you appreciate what I did please consider
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/hitrov)

- [Generating API key](#generating-api-key)
- [Installation](#installation)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0 || ^8.1 || ^8.2",
"php": "^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3",
"hitrov/oci-api-php-request-sign": "^1.0",
"ext-curl": "*",
"ext-json": "*",
Expand Down
Loading

0 comments on commit 369de7b

Please sign in to comment.