PHPackages                             urgor/calendarr - 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. urgor/calendarr

ActiveLibrary

urgor/calendarr
===============

Create stadium like shape calendar png image. Or circle. Cross out past days, highlight current day and/or custom days. Style customizable amlost everything.

1.2.4(3y ago)020MITPHPPHP &gt;=7.1

Since Dec 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/urgor/calendarr)[ Packagist](https://packagist.org/packages/urgor/calendarr)[ Docs](https://github.com/urgor/calendarr)[ RSS](/packages/urgor-calendarr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

Synopsis
--------

[](#synopsis)

Create stadium like shape calendar png image. Or circle. Cross out past days, highlight current day or custom days. Style customizable amlost everything.

[![](https://camo.githubusercontent.com/e8d09c22ec9f3c4efd2ef7d5461be4e9dc38b0983c67f2e2fbe3e2f1107103dc/687474703a2f2f7572676f722e636f6d2e75612f746f6f6c732f63616c656e6461722e706870)](https://camo.githubusercontent.com/e8d09c22ec9f3c4efd2ef7d5461be4e9dc38b0983c67f2e2fbe3e2f1107103dc/687474703a2f2f7572676f722e636f6d2e75612f746f6f6c732f63616c656e6461722e706870)

Code Example
------------

[](#code-example)

Simplest bootstrap (calendar\_example.php) file:

```
use Urgor\Calendarr\Reg;
use Urgor\Calendarr\Config\Cfg;

include '../vendor/autoload.php';

Reg::setConfig(Cfg::create('./calendarr_config_summer.ini'));
$calendarr = new Urgor\Calendarr\Calendar();
$calendarr->drawAndOutput();

```

Or look into Reg and create your own custom bootstrap interface.

Motivation
----------

[](#motivation)

Everyone has their own representation (idea) of how to visualise the year. So this is **my** representation of calendar.

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

[](#installation)

Depends on GD and FreeType libs. Checkout, put somwhere into www dir and request http://....calendar\_example.php . It will generates png image with common headers (by default).

Configuration
-------------

[](#configuration)

Example config file calendar.ini contain some styles for calendar. Read comment and create your own style.

Possible style keywords with their values are:

- color = ff0000 ; css hex color representation (in rgb or rgba format)
- font = UbuntuMono-B.ttf ; just font file name
- size = 12 ; font size in px
- hatch\_color = 000000cc ; color
- hatch\_thick = 3 ; crosses out the text, in px
- hatch\_type = double\_rough ; crosses out past days { strict | double\_strict | rough | double\_rough }
- frame\_color = 00cc00
- frame\_thick = 2
- background\_color = ff0000
- background\_growth = 2 ; enlarge background frame on this px amount

Also, you can find web configurator at [my site](https://urgor.com.ua/calendarr-configurator/).

Contributors
------------

[](#contributors)

Any feedback and pullrequests are appreciated.

License
-------

[](#license)

Use Calendarr at your own risk.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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 ~60 days

Recently: every ~21 days

Total

11

Last Release

1389d ago

PHP version history (2 changes)1.1.1PHP &gt;=7.0

1.2PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/692cb3b68b835394ddccafa4ae918615adc9ecb5554fa371e24574d4061c5b57?d=identicon)[Urgor](/maintainers/Urgor)

---

Top Contributors

[![urgor](https://avatars.githubusercontent.com/u/6810293?v=4)](https://github.com/urgor "urgor (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/urgor-calendarr/health.svg)

```
[![Health](https://phpackages.com/badges/urgor-calendarr/health.svg)](https://phpackages.com/packages/urgor-calendarr)
```

PHPackages © 2026

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