diff --git a/.travis.yml b/.travis.yml index 1f5c1fd..ab36450 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ php: - 7.1 - 7.2 - 7.3 + - 7.4 before_install: - nvm install 8 @@ -25,4 +26,4 @@ script: - scripts/test.sh after_success: - - bash <(curl -s https://codecov.io/bash) -t 8436848f-9a99-4b49-be60-629d7ff9a62c \ No newline at end of file + - bash <(curl -s https://codecov.io/bash) -t 76a0abaf-bbc4-4829-b5b8-474f10a6b9e9 diff --git a/README.md b/README.md index aa1d5f9..c97e944 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # web3.php -[![Build Status](https://travis-ci.org/sc0Vu/web3.php.svg?branch=master)](https://travis-ci.org/sc0Vu/web3.php) -[![codecov](https://codecov.io/gh/sc0Vu/web3.php/branch/master/graph/badge.svg)](https://codecov.io/gh/sc0Vu/web3.php) +[![Build Status](https://travis-ci.org/web3p/web3.php.svg?branch=master)](https://travis-ci.org/web3p/web3.php) +[![codecov](https://codecov.io/gh/web3p/web3.php/branch/master/graph/badge.svg)](https://codecov.io/gh/web3p/web3.php) [![Join the chat at https://gitter.im/web3-php/web3.php](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg)](https://gitter.im/web3-php/web3.php) -[![Licensed under the MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/sc0Vu/web3.php/blob/master/LICENSE) +[![Licensed under the MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/web3p/web3.php/blob/master/LICENSE) A php interface for interacting with the Ethereum blockchain and ecosystem. diff --git a/composer.json b/composer.json index 69a3463..8676574 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "guzzlehttp/guzzle": "~6.0", + "guzzlehttp/guzzle": "~7.0", "PHP": "^7.1", "kornrunner/keccak": "~1.0", "phpseclib/phpseclib": "~2.0.11", diff --git a/docker/php/Dockerfile-74 b/docker/php/Dockerfile-74 new file mode 100644 index 0000000..f957a25 --- /dev/null +++ b/docker/php/Dockerfile-74 @@ -0,0 +1,23 @@ +FROM php:7.4-alpine + +MAINTAINER Peter Lai + +COPY composer-setup.php composer-setup.php +# COPY php.ini-production $PHP_INI_DIR/php.ini + +RUN apk update && \ + apk add git + +# Install gmp +Run apk add gmp-dev && \ + docker-php-ext-install gmp + +# Install nodejs +# Run apk add --update nodejs nodejs-npm + +# Install composer +RUN php composer-setup.php && \ + php composer-setup.php --install-dir=/usr/bin --filename=composer && \ + php -r "unlink('composer-setup.php');" + +WORKDIR /app