Skip to content

UACOMTucson/pchart-php7

 
 

Repository files navigation

pChart 2.1 library for PHP 7 (7-Compatible branch)

The good old pChart got an overhaul!

  • All examples work fine with zero code modifications to them
  • Code was beautified
  • Made minor improvements and added some speed ups

pChart 2.2

This version will NOT work with your existing code.
Please check the change log for the complete list of changes.

Major changes:

  • Code cleanup
  • Bootstrapped
  • Exceptions
  • Introduced pColor & pColorGradient
  • Moved functions around
  • Added support for compression and filters in PNG output
  • Cache: added PDO SQLite storage option
  • ImageMapper: JavaScript re-write using jQuery
  • ImageMapper: added PDO SQLite storage option
  • Removed DelayedLoader

pChart 2.3

  • Introduce pPyramid (in progress)
  • Introduce pQRCode (maybe)
  • More cleanup
  • Performace boost
  • Separated pBarcode
  • No more config files (palettes & barcode db)

The sandbox and all examples work as expected.
Code is being tested against PHP versions 7.0, 7.1, 7.2 & 7.3

Word of advice, keep it secure:

  • Set write permissions only to the "cache" and "temp" folders if you are going to be using them.
  • Make sure the content of these folders is not visible to the rest of the world.

About

Fork of pChart compatible with PHP 7

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.7%
  • Batchfile 0.3%