Skip to content

Commit

Permalink
version php74
Browse files Browse the repository at this point in the history
  • Loading branch information
leodisarli committed Nov 3, 2023
1 parent e8b8413 commit 7b9d8e8
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 33 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ PHP library to connect to and use AWS S3 Bucket.

### Installation

[Release 4.0.0](https://github.com/not-empty/aws-bucket-php-lib/releases/tag/4.0.0) Requires [PHP](https://php.net) 7.4

[Release 3.0.0](https://github.com/not-empty/aws-bucket-php-lib/releases/tag/2.0.0) Requires [PHP](https://php.net) 7.3

[Release 2.0.0](https://github.com/not-empty/aws-bucket-php-lib/releases/tag/2.0.0) Requires [PHP](https://php.net) 7.2
Expand Down Expand Up @@ -60,12 +62,12 @@ If you getting 403 or 400 erros, you must configure your bucket permitions, in A
if you want an environment to run or test it, you can build and install dependences like this

```sh
docker build --build-arg PHP_VERSION=7.3.33-cli -t not-empty/aws-bucket-php-lib:php73 -f contrib/Dockerfile .
docker build --build-arg PHP_VERSION=7.4.33-cli -t not-empty/aws-bucket-php-lib:php74 -f contrib/Dockerfile .
```

Access the container
```sh
docker run -v ${PWD}/:/var/www/html -it not-empty/aws-bucket-php-lib:php73 bash
docker run -v ${PWD}/:/var/www/html -it not-empty/aws-bucket-php-lib:php74 bash
```

Verify if all dependencies is installed
Expand Down Expand Up @@ -105,12 +107,12 @@ To ensure that the entire project is fine:
First you need to building a correct environment to install all dependences

```sh
docker build --build-arg PHP_VERSION=7.3.33-cli -t not-empty/aws-bucket-php-lib:php73 -f contrib/Dockerfile .
docker build --build-arg PHP_VERSION=7.4.33-cli -t not-empty/aws-bucket-php-lib:php74 -f contrib/Dockerfile .
```

Access the container
```sh
docker run -v ${PWD}/:/var/www/html -it not-empty/aws-bucket-php-lib:php73 bash
docker run -v ${PWD}/:/var/www/html -it not-empty/aws-bucket-php-lib:php74 bash
```

Install all dependences
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "not-empty/aws-bucket-php-lib",
"description": "PHP library to connect to and use AWS S3 Bucket",
"version": "3.0.0",
"version": "4.0.0",
"type": "library",
"license": "GPL-3.0-only",
"require": {
"php": "^7.3",
"not-empty/ulid-php-lib": "^3.0",
"aws/aws-sdk-php": "^3.284"
"php": "^7.4",
"aws/aws-sdk-php": "^3.284",
"not-empty/ulid-php-lib": "^4.0"
},
"authors": [
{
Expand Down
48 changes: 24 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contrib/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PHP_VERSION=7.2.33-cli
ARG PHP_VERSION=7.4.33-cli

FROM php:${PHP_VERSION}

Expand Down

0 comments on commit 7b9d8e8

Please sign in to comment.