PHP routines for converting bitcoin cash addresses to and from legacy addresses. Requires PHP 5.3.2 with either GMP or BC Math.
Two primary functions are exposed by the class: convertFromCash and convertToCash. Both simply take in a corresponding type of address as a string.