The current CashAddress.php file is generating incorrect cash addresses.
Running CashAddress::old2new('13spvtVJmRkTWGTCC8ya4LpQguCni9pHZE') currently gives bitcoincash:qq0c6rc3pf0hpf0r0849ddg36y9235e83sqqndxum7 (which doesn't pass a checksum), instead of bitcoincash:qq0c6rc3pf0hpf0r0849ddg36y9235e83s5wh0n72c.
Please update CashAddress.php to the newest version https://github.com/Har01d/CashAddressPHP as I have tested the class and it correctly converts the old address.