avto-dev/static-references-data

Data for static references

v3.15.0 2024-02-22 06:20 UTC

README

logo

Static references data

Version PHP Version Build Status Coverage Downloads count License

This repository contains regularly updated static references data.

Install

Using composer

Require this package with composer using the following command:

$ composer require avto-dev/static-references-data "^3.2"

Installed composer is required (how to install composer).

You need to fix the major version of package.

After that you can read references data using following methods:

use AvtoDev\StaticReferencesData\StaticReferencesData;

StaticReferencesData::cadastralDistricts();
StaticReferencesData::subjectCodes();
StaticReferencesData::vehicleFineArticles();
StaticReferencesData::vehicleRegistrationActions();
StaticReferencesData::vehicleRepairMethods();
StaticReferencesData::vehicleCategories();
StaticReferencesData::vehicleTypes();

Using CDN

You can use HTTP for fetching references data using jsdelivr.com. Just open in your browser this link and find required file. More documentation can be found here.

Testing

For package testing we use phpunit framework and docker-ce + docker-compose as develop environment. So, just write into your terminal after repository cloning:

$ make build
$ make latest # or 'make lowest'
$ make test

Changes log

Release date Commits since latest release

Changes log can be found here.

Support

Issues Issues

If you will find any package errors, please, make an issue in current repository.

License

This is open-sourced software licensed under the MIT License.