z38 / pc-axis
PHP library to read PC-Axis (PX) files
dev-master
2016-07-23 05:33 UTC
Requires
- php: >=5.5.1
Requires (Dev)
- phpunit/phpunit: ~4.2|~5.0
This package is auto-updated.
Last update: 2025-01-07 04:31:13 UTC
README
PcAxis is a PHP library to read PC-Axis (PX) files.
Installation
Just install Composer and run composer require z38/pc-axis
in your project directory.
Usage
use Z38\PcAxis\Px; $px = new Px('yourfile.px'); $px->variables(); // returns a list of all variables $px->values($variable) // returns a list of all values for a given variable $px->datum([0, 5, 3]); // returns the datum for a given index
Low-Level Access
$px->keywords(); // returns all keywords $px->data(); // returns all data cells
Contributing
If you want to get your hands dirty, great! Here's a couple of steps/guidelines:
- Fork this repository
- Add your changes & tests for those changes (in
tests/
). - Send me a pull request!
If you don't want to go through all this, but still found something wrong or missing, please let me know, and/or open a new issue report so that I or others may take care of it.