artur89/mylibconverter

My test package for easy using converter currency

0.1 2022-09-29 13:30 UTC

This package is auto-updated.

Last update: 2024-05-29 05:03:16 UTC


README

Skeleton for running small php scripts locally with enabled assert function

Local work

Build docker image

make build

Connect to terminal

make exec

Or make all for both

or use built in php server http://localhost:8080

# start server on 8080 port
make serve 
# custom port 8081
make serve PORT=8081

Dafault php version is 7.4. Use PHP_VERSION= for using custom version.

make all PHP_VERSION=8.0
# run both 
make all PHP_VERSION=7.4 && make all PHP_VERSION=8.0

Adopt for you