skgroup/php-calculator

Parsing and evaluating mathematical formula entered as a string

dev-master 2015-07-01 09:23 UTC

This package is auto-updated.

Last update: 2024-04-29 03:18:16 UTC


README

Installing

Install composer in a common location or in your project:

curl -s http://getcomposer.org/installer | php

Create the composer.json file as follows:

{
	"require": {
		"skgroup/php-calculator": "dev-master"
	}
}

Run the composer installer:

php composer.phar install

Add in your the code

require_once('vendor/autoload.php');