PHPackages                             manageitwa/payg-tax - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. manageitwa/payg-tax

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

manageitwa/payg-tax
===================

Calculate PAYG tax withholding amounts for employees

v1.2.2(8mo ago)0317GPL-3.0-onlyPHPPHP ^7.4|^8.0CI passing

Since Nov 27Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/manageitwa/payg-tax)[ Packagist](https://packagist.org/packages/manageitwa/payg-tax)[ RSS](/packages/manageitwa-payg-tax/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (7)Used By (0)

Australian PAYG Tax Calculator
==============================

[](#australian-payg-tax-calculator)

This library allows for the calculation of income tax on gross payments as per the rules of the [Australian Tax Office](https://www.ato.gov.au). It supports all standard tax scales and the most common tax offsets and adjustments, including the Seniors and Pensioners Offset, Medicare Levy Reduction and Exemption, Study and Training Support Loans and Working Holiday Makers.

This library only supports calculating tax for gross payments after 13th October 2020 (FY2020-21 tax table release).

Requirements
------------

[](#requirements)

- PHP 7.4 or PHP 8.0, and above.

Installation
------------

[](#installation)

This library can be installed via [Composer](https://getcomposer.org)

```
composer require manageitwa/payg-tax

```

Usage
-----

[](#usage)

### General usage

[](#general-usage)

This library is built to be able to be slotted in to most PHP software. The library publishes a number of interfaces within the `src/Entities` directory. At a bare minimum, you would need to fulfill the following interfaces:

- `Payer`: A payer record. The payer is the employer or the entity who is paying the payee.
- `Payee`: A payee record. The payee is the employee or entity who is being paid the gross income and needs income tax to be withheld from their earning.
- `Earning`: An earning record. The earning is a single gross amount of income that is paid either ad-hoc or as part of a pay cycle to the payee.

In general, you would likely implement these interfaces into a model record for each of these entities.

```
