nswdpc / governance-arrangements
Service class for parsing governance arrangements data
Requires
- php: ^7.4|^8
- symfony/yaml: >=3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-12 05:38:49 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
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.