/php-utility

PHP utility classes.

Primary LanguagePHPMIT LicenseMIT

PhpUtility

Setup

Install project dependencies:

script/setup.sh

Usage

Run the main program:

bin/phut

Run the main program inside the container:

docker run -it --rm funtimecoding/php-utility

Development

Configure Git on Windows before cloning:

git config --global core.autocrlf input

Install NFS plug-in for Vagrant on Windows:

vagrant plugin install vagrant-winnfsd

Create the development virtual machine on Linux and Darwin:

script/vagrant/create.sh

Create the development virtual machine on Windows:

script\vagrant\create.bat

Run tests, style check and metrics:

script/test.sh [--help]
script/check.sh [--help]
script/measure.sh [--help]

Build project:

script/build.sh

Install Debian package:

sudo dpkg --install build/php-utility_0.1.0-1_all.deb

Show files the package installed:

dpkg-query --listfiles php-utility