Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Small package for generating UPU S10 check digits

License

Notifications You must be signed in to change notification settings

otherjustin/upus10checkdigit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is small package for generating UPU S10 check digits. While attempting to automatically generate labels for Deutsche Post, I discovered that they are using a UPU S10 check digit in the tracking code, and thus this library was born.

Installation

Composer is the recommended way to install this package:

composer require otherjustin/upus10checkdigit

Small usage example

This is fairly easy to use:

$checkdigit = CheckDigit::generateCheckDigit(12345678);

License

This package is published under MIT license, which can be found in LICENSE.txt.

Copyright

Justin Scott

About

Small package for generating UPU S10 check digits

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages