fdsn/datastructure

Data structure for FDSN data

0.1.6 2024-08-18 10:38 UTC

This package is auto-updated.

Last update: 2024-11-18 11:21:12 UTC


README

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 "):

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