fdsn / datastructure
Data structure for FDSN data
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This package is no more maintained and is merge into fdsn/webservice-library.
FDSN Event dataStructure
This library is a collection of data structures used by FDSN/webservice-library.
Install library
Via composer
composer require fdsn/datastructure
Include library directly via autoload:
require_once __DIR__ . '/../vendor/autoload.php';
Manually
Clone the following repositories:
and manually adjust the path
Include libraries:
require_once <install_dir>/datastructure/src/<all_files>.php
Usage
Add namespace (replace "" with the class name you need):
use Fdsn\DataStructure\<className_you_need_to_use> as Fdsnws_Classname;
create object (replace args with the arguments required by the class):
$obj = new Fdsnws_Classname(<args>);
and use its methods.
Documentation
You can find documentation, automatically created by PHPDocumentor here: http://fdsn.gitpages.rm.ingv.it/datastructure/
Test and Deploy
Tests are realized using PHPUnit.
Contributing
If you want to contribute, please use pull requests. To get a best integration, please code using Behavior Driven Development (BDD), Test Driven Development (TDD) and Calisthenic Programming.
Authors and acknowledgment
Diego Sorrentino, Istituto Nazionale di Geofisica e Vulcanologia, https://www.ingv.it/organizzazione/chi-siamo/personale/#922
License
GPL v3
Project status
Development in progress