Skip to content

An API for Israel postal service - query shipment price easily.

License

Notifications You must be signed in to change notification settings

Stajor/israel-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP API for Israel Post service.

Installation

$ composer require stajor/israel-post

Usage

<?php
# Any cache driver supports psr/cache
$cache = new Symfony\Component\Cache\Adapter\ArrayAdapter();

$israelPost = new IsraelPost\IsraelPost($cache);

# Tracking delivery
$response = $israelPost->deliveryTracking()->track('EE123456789IL');

# Get rate for abroad letter delivery
$country = 'RU';
$amount = 3;
$weight = 200;
$rate = $israelPost->deliveryRate()->abroad()->letter()->standardAirDeliveryRate($country, $amount, $weight);

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Stajor/israel-post. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

An API for Israel postal service - query shipment price easily.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages