netglue / zf2-late-payment-module
ZF2 Module that provides a calculation service for UK late payment legislation and a service for looking Band of England Base Rates
Requires
- php: >=5.3.3
- zendframework/zendframework: ~2.3
This package is not auto-updated.
Last update: 2021-09-02 12:03:35 UTC
README
This is a Zend Framework 2 module that provides services, views, controllers etc for simply calculating debt recovery fees and late payment interest on commercial debts in the UK.
It also provides services for retreiving the Bank of England base rates and keeping the rates updated.
You can see the late payment calculator in action on our website.
Installation
Install with composer. The package identifier is "netglue/zf2-late-payment-module"
Once you've done php composer.phar update
, add the module name to you app wide config using the name NetglueLatePayment
Finally, configure options. Take a look in src/config/module.config.php
at the defaults. You will need to at least change the storage directory for caching the bank of england base rates.
Feedback, contrib
Feedback/contributions/corrections are welcome. Please fork, make pull requests, raise issues etc.
Tests
Tests are not complete though a reasonable amount has been done. I'm having trouble testing the controllers so these aren't covered at all. If you can help with that. Great!