softc / fns-api
Provides access to FNS API: https://api-fns.ru
Requires
- php: >=7.4
- php-http/discovery: ^1.0
- php-http/httplug: ^2.0
- php-http/message-factory: ^1.0
- psr/http-client-implementation: ^1.0
- psr/http-message: ^1.0
Requires (Dev)
- guzzlehttp/psr7: ^1.0
- php-http/message: ^1.0
- php-http/mock-client: ^1.0
- phpstan/phpstan: ^1.5
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-11 13:17:55 UTC
README
FNS API Client
Minimal FNS API client for PHP
Report Bug
ยท
Request Feature
About The Project
The client provides access to the FNS API from https://api-fns.ru/
Built With
Getting Started
Prerequisites
You need to setup HTTPlug for library users as described in https://docs.php-http.org/en/latest/httplug/users.html.
Installation
Recommended installation method via Composer:
$ composer require softc/fns-api
Usage
<?php require 'vendor/autoload.php'; $client = new SoftC\FnsApi\Client(<API_token>); $companies = $client->egrGet('1032502271548'); var_dump($companies);
Roadmap
- Add Changelog
- Add other fields of EGR response
- Add other APIs from https://api-fns.ru/api/
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the Apache-2.0 license. See LICENSE.txt
for more information.
Contact
Project Link: https://github.com/capcom6/php-fns-api