This package is abandoned and no longer maintained. No replacement package was suggested.

Package for working with API Russian Post.

Fund package maintenance!
paypal.me/helldar

v1.1.1 2020-12-30 19:49 UTC

This package is auto-updated.

Last update: 2021-11-13 19:03:17 UTC


README

Package for working with API Russian Post.

Russian Post

StyleCI Total Downloads Latest Stable Version Latest Unstable Version License

Installation

Require this package with composer using the following command:

composer require andrey-helldar/pochta

or

{
    "require": {
        "andrey-helldar/pochta": "~1.0"
    }
}

After updating composer, add the service provider to the providers array in config/app.php

Helldar\Pochta\PochtaServiceProvider::class,

You can also publish the config file to change implementations (ie. interface to specific class):

php artisan vendor:publish --provider="Helldar\Pochta\PochtaServiceProvider"

Configuration

See at config/pochta.php:

`api_url_one`   -   Адрес для Единичного доступа.
`api_login`     -   Логин для доступа к API Сервиса отслеживания.
`api_password`  -   Пароль для доступа к API Сервиса отслеживания.

Using

echo \Helldar\Pochta\Tracking::one('XX123456789123');
    // XX123456789123 - Track ID

Copyright and License

Sitemap was written by Andrey Helldar for the Laravel Framework 5.3 or later, and is released under the MIT License. See the LICENSE file for details.