Merge pull request #195 from web3p/minor-update

Minor update
This commit is contained in:
Peter Lai 2020-11-14 17:12:21 +00:00 committed by GitHub
commit c0c57219d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 5 deletions

View File

@ -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
- bash <(curl -s https://codecov.io/bash) -t 76a0abaf-bbc4-4829-b5b8-474f10a6b9e9

View File

@ -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.

View File

@ -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",

23
docker/php/Dockerfile-74 Normal file
View File

@ -0,0 +1,23 @@
FROM php:7.4-alpine
MAINTAINER Peter Lai <alk03073135@gmail.com>
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