https://github.com/r3code/pochtaru-parcel-cost
The php wrapper for the new pochta.ru/parcel delivery cost calculator.
https://github.com/r3code/pochtaru-parcel-cost
api delivery php pochtaru service
Last synced: 7 months ago
JSON representation
The php wrapper for the new pochta.ru/parcel delivery cost calculator.
- Host: GitHub
- URL: https://github.com/r3code/pochtaru-parcel-cost
- Owner: r3code
- License: apache-2.0
- Created: 2016-02-21T17:20:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T17:15:33.000Z (over 7 years ago)
- Last Synced: 2025-06-26T09:08:13.304Z (11 months ago)
- Topics: api, delivery, php, pochtaru, service
- Language: PHP
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pochta.ru parcel delivery calculator
The php wrapper for the new pochta.ru/parcel delivery cost calculator.
## To run tests
Call ```sh testall.sh``` it will start PHPUnit and run tests.
[](https://travis-ci.org/r3code/pochtaru-parcel-cost)
## Setup Cloud9 Environment
### Install PHPUnit 4.8 for Cloud9 php5.5.9 run
```
#create %user%/bin
mkdir ~/bin/
echo "bin" >> .gitignore
# Install old stable HPUnit 4.8 for correct work with Cloud9 php5.5.9
wget https://phar.phpunit.de/phpunit-old.phar -P ~/bin/
#make executable
chmod +x ~/bin/phpunit.phar
#add symlink
ln -s ~/bin/phpunit.phar ~/bin/phpunit
#check phpunit installed
phpunit --version
```
Inspired by https://gist.github.com/mikedfunk/5146798
### Set Apache output encoding
Enable "Show Hidden Files" and create .htaccess file in the root foolder.
Add this line to it:
```
AddDefaultCharset utf-8
```
### Push to Github
To push code to Github do http://www.jimcode.org/2012/12/setting-git-github-cloud9-ide-pushing-live-server/