Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
f1mishutka authored Apr 21, 2022
1 parent 738629a commit ba87041
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Composer compatible JpGraph library (v4.3.5) with PHP 8.1 support
# Composer compatible JpGraph library (v4.4.0) with PHP 8.1 support

[![GitHub Version](https://img.shields.io/github/v/release/mitoteam/jpgraph?style=flat-square&logo=github)](https://github.com/mitoteam/jpgraph)
[![Packagist Version](https://img.shields.io/packagist/v/mitoteam/jpgraph?include_prereleases&style=flat-square&logo=packagist)](https://packagist.org/packages/mitoteam/jpgraph)
[![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/mitoteam/jpgraph?style=flat-square&logo=php)](https://github.com/mitoteam/jpgraph)

Current JpGraph library version: **4.3.5**

**PHP 8.1 support added in version 10.0.0!**
Current JpGraph library version: **4.4.0**

PHP versions support: from **5.5 to 8.1**. [Original notes](https://jpgraph.net/download/manuals/chunkhtml/ch01s05.html) about PHP versions.

Expand Down Expand Up @@ -36,17 +34,19 @@ $graph = new Graph(200, 300);

## Usage WITHOUT composer

Download latest version archive from [Releases](https://github.com/mitoteam/jpgraph/releases) page and unpack it.
There are php-8.1 patched JpGraph sources in `src\lib` subfolder.
Download latest version archive from [Releases](https://github.com/mitoteam/jpgraph/releases) page and unpack it.
Since JpGraph v4.4.0 has native PHP 8.1 support, so this is almost the same as downloading it from https://jpgraph.net.

## Version numbers

We started with version 4.3.5 as latest available library version in time we started. But we need to make some patches to original library (for example to support PHP 8.1). So we had to switch to own version numbers to be able to release updates.

At 2022-02-25 we decided to switch to version number **10.0.0** to leave some margin in numbering from original library v4.3.5.

* **Version 10.x** of this package is latest version of JpGraph library with php 8.1 compatibility patches (latest code in "main" branch).
* **Version 4.3.x** of this package provides latest version of original JpGraph library as-is (latest code in "original" branch).
Current version numbers:

* **Version 10.1.0** of this package is latest version of JpGraph library with php 8.1 compatibility patches (latest code in "main" branch).
* **Version 4.4.x** of this package provides latest version of original JpGraph library as-is without any compatibility patches (latest code in "original" branch).


## Links
Expand Down

0 comments on commit ba87041

Please sign in to comment.