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)0142CECILL-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 today

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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

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

993d ago

Major Versions

1.0.13 → v2.0.02022-04-08

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41602?v=4)[sebius](/maintainers/sebius)[@sebius](https://github.com/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.2k18.7M61](/packages/eluceo-ical)[spatie/icalendar-generator

Build calendars in the iCalendar format

6878.7M19](/packages/spatie-icalendar-generator)[spatie/laravel-google-calendar

Manage events on a Google Calendar

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

Time range API for PHP

7335.8M24](/packages/league-period)[aeon-php/calendar

PHP type safe, immutable calendar library

20810.4M16](/packages/aeon-php-calendar)[laraveljutsu/zap

A flexible, performant, and developer-friendly schedule management system for Laravel

1.5k97.9k1](/packages/laraveljutsu-zap)

PHPackages © 2026

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