nswdpc/governance-arrangements

Service class for parsing governance arrangements data

v1.0.9 2024-08-30 01:01 UTC

This package is auto-updated.

Last update: 2024-10-30 01:37:24 UTC


README

This module provides some base data files and a service class to load data from a YAML representation of The Cabinet Office NSW Governance Arrangements Chart from those files into data stuctures and return them.

The data can be used to represent form controls and lists of governance data.

Usage

Load the v20230928 dataset

// @var GovernanceArrangementsService
$service = GovernanceArrangementsService::create(20230928);
// @var array
$data = $service->getData();

Get the metadata from the same service:

// @var array
$data = $service->getMetaData();

Installation

The only supported way of installing this module is via composer:

composer require nswdpc/governance-arrangements

License

BSD-3-Clause

Documentation

Configuration

Maintainers

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.