avto-dev / static-references-data
Data for static references
Installs: 34 847
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 10
Open Issues: 1
Requires
- php: ^7.2 || ^8.0
- ext-json: *
Requires (Dev)
- opis/json-schema: ^1.0.8
- phpstan/phpstan: ~0.12.34
- phpunit/phpunit: ^8.5.4 || ^9.3
Suggests
- avto-dev/static-references-laravel: Laravel package for a working with static references data.
- dev-master
- v3.15.0
- v3.14.0
- v3.13.0
- 3.12.0
- v3.11.0
- v3.10.0
- v3.9.0
- v3.8.0
- v3.7.0
- v3.6.0
- v3.5.0
- v3.4.0
- v3.3.0
- v3.2.0
- v3.1.0
- v3.0.0
- v2.x-dev
- v2.14.0
- v2.13.0
- v2.12.0
- v2.11.0
- v2.10.0
- v2.9.1
- v2.9.0
- v2.8.0
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- dev-Zaboday-patch-1
This package is auto-updated.
Last update: 2024-12-22 08:05:26 UTC
README
Static references data
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
Changes log can be found here.
Support
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.