PHPackages                             robertbasic/weeksinayear - 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. robertbasic/weeksinayear

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

robertbasic/weeksinayear
========================

Calculates the number of ISO weeks in a given year

1.0.0(8y ago)361MITPHPPHP &gt;=7.1.0

Since Mar 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/robertbasic/weeksinayear)[ Packagist](https://packagist.org/packages/robertbasic/weeksinayear)[ Docs](https://github.com/robertbasic/weeksinayear)[ RSS](/packages/robertbasic-weeksinayear/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Weeks in a year
===============

[](#weeks-in-a-year)

This small library calculates how many ISO weeks are there in a given year.

Install
-------

[](#install)

```
composer require robertbasic/weeksinayear

```

Usage
-----

[](#usage)

```
