PHPackages                             worksome/uk-tax-allowance - 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. worksome/uk-tax-allowance

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

worksome/uk-tax-allowance
=========================

A package helping in determining the Uk weekly or monthly tax allowance for a specific date range

v2.0.0(3mo ago)0539.4k↑38.6%MITPHPPHP ^8.4CI passing

Since Dec 2Pushed 3mo ago13 watchersCompare

[ Source](https://github.com/worksome/uk-tax-allowance)[ Packagist](https://packagist.org/packages/worksome/uk-tax-allowance)[ RSS](/packages/worksome-uk-tax-allowance/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (7)Dependencies (14)Versions (13)Used By (0)

Worksome Uk Allowance library
=============================

[](#worksome-uk-allowance-library)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3e7d5cd385f4131eb1281239bacc7ee9ffacebb6a04573e7687077e6637a6a26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f726b736f6d652f756b2d7461782d616c6c6f77616e63652e7376673f7374796c653d666c61742d737175617265266c6162656c3d5061636b6167697374)](https://packagist.org/packages/worksome/uk-tax-allowance)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8eb159066e34f1d00ffe31e80eeef7ffc3b1c95e4b50cb4c578704b37fd06c49/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776f726b736f6d652f756b2d7461782d616c6c6f77616e63652f74657374732e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d5465737473)](https://github.com/worksome/uk-tax-allowance/actions?query=workflow%3ATests+branch%3Amain)[![GitHub Static Analysis Action Status](https://camo.githubusercontent.com/cf97b2c73e9fbc61e03c88b1da761b71077679f1e10ee40d2e3173d9740848a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776f726b736f6d652f756b2d7461782d616c6c6f77616e63652f7374617469632e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d537461746963253230416e616c79736973)](https://github.com/worksome/uk-tax-allowance/actions?query=workflow%3A%22Static%20Analysis%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d250b84676dfe1d5c7bc8e0abaf07cbfe682d519125668257728ce9f6c8d46bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776f726b736f6d652f756b2d7461782d616c6c6f77616e63652e7376673f7374796c653d666c61742d737175617265266c6162656c3d446f776e6c6f616473)](https://packagist.org/packages/worksome/uk-tax-allowance)

This package is for determining a UK employee tax allowance for a specific date range.

You may get the weekly or monthly tax allowance, as well as weekly or monthly period end dates for the provided date range.

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

[](#installation)

```
composer require worksome/uk-tax-allowance
```

Usages
------

[](#usages)

### `UkTaxAllowanceCalculator`

[](#uktaxallowancecalculator)

```
/**
 * @param \Worksome\UkTaxAllowance\UkTaxAllowanceCalculator $ukTaxAllowanceCalculator
 * @param $dateStart \Carbon\Carbon
 * @param $dateEnd \Carbon\Carbon
 */
```

#### Weekly allowance

[](#weekly-allowance)

```
// Get the weekly allowance count for a specific date range
$weeklyAllowanceCount = $ukTaxAllowanceCalculator->weekly($dateStart, $dateEnd);

// Get the weekly allowance end dates for a specific date range
$weeklyAllowanceEndDates = $ukTaxAllowanceCalculator->weeklyEndDatesBetween($dateStart, $dateEnd);
```

#### Monthly allowance

[](#monthly-allowance)

```
// Get the monthly allowance end dates for a specific date range
$monthlyAllowanceEndDates = $ukTaxAllowanceCalculator->monthlyEndDatesBetween($dateStart, $dateEnd);
// Get the monthly allowance count for a specific date range
$monthlyAllowanceCount = $ukTaxAllowanceCalculator->monthly($dateStart, $dateEnd);
```

### Calendar

[](#calendar)

You may use our `YasumiUkCalendar` which relies on the [`azuyalabs/yasumi`](https://github.com/azuyalabs/yasumi) package. For Laravel users, `UkTaxAllowanceServiceProvider` will register it by default.

Or create your own and have it implement `Worksome\UkTaxAllowance\Contracts\UkCalendar`

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance78

Regular maintenance activity

Popularity35

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 64.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~195 days

Recently: every ~189 days

Total

9

Last Release

115d ago

Major Versions

v1.5.0 → v2.0.02026-03-12

PHP version history (4 changes)v1.0.1PHP ^8.0

v1.1.0PHP ^8.2

v1.4.0PHP ^8.3

v1.5.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a7b1f64316066e41e335ca3d7908d84ceda0f547bc2191d91cf6431ed9ad09?d=identicon)[jeremynikolic](/maintainers/jeremynikolic)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (22 commits)")[![lukeraymonddowning](https://avatars.githubusercontent.com/u/12202279?v=4)](https://github.com/lukeraymonddowning "lukeraymonddowning (11 commits)")[![brunogaspar](https://avatars.githubusercontent.com/u/2285372?v=4)](https://github.com/brunogaspar "brunogaspar (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/worksome-uk-tax-allowance/health.svg)

```
[![Health](https://phpackages.com/badges/worksome-uk-tax-allowance/health.svg)](https://phpackages.com/packages/worksome-uk-tax-allowance)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[entrepreneur-interet-general/bulletins

Bulletins is a simple weekly retrospective tool for multiple projects or teams

122.7k](/packages/entrepreneur-interet-general-bulletins)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
