Skip to content

Commit

Permalink
Addds installation instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotjreed committed Dec 4, 2023
1 parent 0ec0638 commit 052685d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ This PHP package provides an object-oriented wrapper for `bcmath` functionality

One aim of this project is to provide a greater degree of accuracy when dealing with floating point numbers.

## Installation

To install the package via [Composer](https://getcomposer.org/), run:

```shell
composer require elliotjreed/maths
```

or include the dependency in your `composer.json` file, for example:

```json
"require": {
"php": "^8.1",
"ext-bcmath": "*",
"elliotjreed/maths": "^6.1"
}
```

## Usage

There are two base classes, `Number` and `NumberImmutable`.
Expand Down

0 comments on commit 052685d

Please sign in to comment.