A simple, no-cruft library that includes the state by state tax rates used by I'm In It app.
A light-weight, no-cruft PHP library that includes lottery tax rates for use in the I'm In It app service. The main purpose is to open source the tax rates used by I'm In It app but you may use this wherever it may help you out.
These tax rates update frequently and we're not always on top of them. Pull requests are always welcome as long as they include a source for the information!
They also only include states where the mega lotteries are currently in play. If you need this library for something else that also requires the other states, cut a PR!
Feel free to use this library in your project, fork it, PR back, etc.
composer require salernolabs/php-us-tax-rates