avtocod/specs-php
PHP SDK for avtocod/specs
This repository contains SDK for data from avtocod/specs specifications repository.
Install
Require this package with composer using the following command:
$ composer require avtocod/specs-php "^1.0"
Installed
composeris required (how to install composer).
You need to fix the major version of package.
Usage
use Avtocod\Specifications\Specifications;
// Get specifications (not SDK) version
$version = Specifications::version();
// Get report content (full example)
$report_example = Specifications::getReportExample();
// Get report json-schema (as an object or associative array)
$report_schema = Specifications::getReportJsonSchema();
For more examples - look into sources.
Testing
For package testing we use phpunit framework and docker with compose plugin 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.
Related Packages
aws/aws-sdk-php-laravel
A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PH...
41,170,406
1,715
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.14.0 | ^8.2 | ~11.0 | | MIT | |
| v1.13.0 | ^8.1 | ~9.0 | | MIT | |
| v1.12.0 | ^8.0.2 | ~9.0 | | MIT | |
| v1.11.0 | ^8.0.2 | ~9.0 | | MIT | |
| v1.10.0 | ^8.0.2 | ~9.0 | | MIT | |
| v1.9.0 | ^8.0.2 | ~9.0 | | MIT | |
| v1.8.0 | ^8.0.2 | ~9.0 | | MIT | |
| v1.7.0 | ^7.3 | | ~6.0 | | MIT | |
| v1.6.0 | ^7.3 | | ~6.0 | | MIT | |
| v1.5.0 | ^7.3 | ~6.0 | | MIT | |
| v1.4.0 | ^7.3 | ~6.0 | | MIT | |
| v1.3.0 | ^7.2 | ~6.0 | | MIT | |
| v1.2.0 | ^7.2 | ~6.0 | | MIT | |
| v1.1.0 | ^7.2 | ~6.0 | | MIT | |
| v1.0.0 | ^7.2 | ^5.6 | | MIT |