PHPackages                             sebius77/date-manager - 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. sebius77/date-manager

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

sebius77/date-manager
=====================

library for generating calendar

v2.0.7(2y ago)0137CECILL-CPHPPHP &gt;=7.4

Since Apr 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sebius77/date-manager)[ Packagist](https://packagist.org/packages/sebius77/date-manager)[ Docs](https://github.com/sebius77/weekly-calendar-generation)[ RSS](/packages/sebius77-date-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (12)Used By (0)

date-manager
============

[](#date-manager)

application to manage dates

- Class Calendar hérite de DateManager

    - generateMonthCalendar(date $date) -----&gt; To generate an array of month

        \[

        ```
           'year' => $year,

          'monthNumber' => $monthNumber,

          'stringMonth' => $stringMonth,

          'weeksNumber' => $weeksNumber,

          'weeks' => $weeks ($weeks[$line][$yearOfDay . '-' . $monthNumberOfDay . '-' . $day] = $day (dayNumber))

        ```

        \]
    - generateWeekcalendar(datetime $date) ----&gt; To generate an array of Week

        \[

        ```
          id => 1 à 7 (for monday at Sunday),

          name => (Lundi, Mardi,...) french by default,

          alias => (Lun, Mar),

          date => (AAAA-MM-JJ)

        ```

        \]
- Class DateManager

    - getFirstDayOfYear(?int $year): DateTime
    - getFirstDayOfMonth(?int $year, ?int $monthNumber): DateTime
    - getLastDayOfMonth(?int $year, ?int $monthNumber): DateTime
    - getFirstWeek(?int $year, ?int $monthNumber): int
    - getMondayofWeekWithDate(DateTime $date): DateTime
    - getMondayOfWeekWithWeekNumber(int $weekNumber, int $year): DateTime
    - getWeekNumberOfMonth(?int $year, ?int $monthNumber) :int
    - getDayNumber(DateTime $date)
    - function getDayString(DateTime $date): string

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~55 days

Recently: every ~0 days

Total

11

Last Release

940d ago

Major Versions

1.0.13 → v2.0.02022-04-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/07217239063a5bd28d44da06b79c62a7a8af5155530d90a5e7d1b99e08b05be3?d=identicon)[sebius](/maintainers/sebius)

---

Top Contributors

[![sebius77](https://avatars.githubusercontent.com/u/20538948?v=4)](https://github.com/sebius77 "sebius77 (38 commits)")

---

Tags

calendarweekly

### Embed Badge

![Health badge](/badges/sebius77-date-manager/health.svg)

```
[![Health](https://phpackages.com/badges/sebius77-date-manager/health.svg)](https://phpackages.com/packages/sebius77-date-manager)
```

###  Alternatives

[eluceo/ical

The eluceo/iCal package offers an abstraction layer for creating iCalendars. You can easily create iCal files by using PHP objects instead of typing your \*.ics file by hand. The output will follow RFC 5545 as best as possible.

1.2k17.5M46](/packages/eluceo-ical)[spatie/icalendar-generator

Build calendars in the iCalendar format

6787.4M9](/packages/spatie-icalendar-generator)[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.5M21](/packages/spatie-laravel-google-calendar)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[aeon-php/calendar

PHP type safe, immutable calendar library

2079.7M16](/packages/aeon-php-calendar)[kigkonsult/icalcreator

iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information

2462.6M16](/packages/kigkonsult-icalcreator)

PHPackages © 2026

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