Download the PHP package frictionlessdata/datapackage without Composer
On this page you can find all versions of the php package frictionlessdata/datapackage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download frictionlessdata/datapackage
More information about frictionlessdata/datapackage
Files in frictionlessdata/datapackage
Package datapackage
Short Description A utility library for working with Data Packages
License MIT
Informations about the package datapackage
Data Package
A utility library for working with Data Package in PHP.
Features summary and Usage guide
Installation
Optionally, to create zip files you will need the PHP zip extension. On Ubuntu it can be enabled with sudo apt-get install php-zip
Package
Load a data package conforming to the specs
Iterate over the resources and the data
Get all the data as an array (loads all the data into memory, not recommended for large data sets)
All data and schemas are validated and throws exceptions in case of any problems.
Validate the data explicitly and get a list of errors
Load a zip file
Provide read options which are passed through to tableschema-php Table::read method
The package object has some useful methods to access and manipulate the resources
Create a new package from scratch
Save the entire datapackage including any local data to a zip file
Resource
Resource objects can be accessed from a Package as described above
or instantiated directly
Iterating or reading over the resource produces combined rows from all the path or data elements
Contributing
Please read the contribution guidelines: How to Contribute
All versions of datapackage with dependencies
ext-zip Version *
justinrainbow/json-schema Version ^5.2
frictionlessdata/tableschema Version ^v1.0.0