PHPackages                             rozdol/dates - 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. rozdol/dates

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

rozdol/dates
============

Date manipulations dedicated to Cyprus Otrhodox Calendar

v1.0.2(8y ago)015MITPHP

Since Jun 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rozdol/dates)[ Packagist](https://packagist.org/packages/rozdol/dates)[ RSS](/packages/rozdol-dates/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

PHP Class for Date manipulations
================================

[](#php-class-for-date-manipulations)

About
-----

[](#about)

Dedicated to Cyprus Otrhodox Calendar to be used in local projects and libraries.

Install
-------

[](#install)

cd to `your_project_root_dir`

```
composer require rozdol/dates:"v1.*"
```

in Table or Model or Controller

```
use Rozdol\Dates\Dates;
$this->dates = new Dates();
$date_normalized = $this->dates->F_date('01/01/20', 1); // 01.01.2020
```

### Unit Test

[](#unit-test)

`cd dates`

```
composer update rozdol/dates
```

To test

```
./vendor/bin/phpunit tests/
```

Compose library Tutorial
------------------------

[](#compose-library-tutorial)

```
cd dates
composer update
git init
git .
git commit -m 'Initial commit'
```

Create github repo

```
git remote add origin git@github.com:rozdol/dates.git
git push origin master
```

- on github add new release (v1.0.0)
- On packagist Update Package
- Login to [packagist.org](https://packagist.org/)
- Submit `https://github.com/rozdol/dates`

### Ready to use in project

[](#ready-to-use-in-project)

cd to `your_project_root_dir`

```
composer require rozdol/dates:"v1.*"
```

in Table or Model or Controller

```
use Rozdol\Dates\Dates;
$this->dates = new Dates();
$date_normalized = $this->dates->F_date('01/01/20', 1); // 01.01.2020
```

#### Connecting Github to Packagist

[](#connecting-github-to-packagist)

In Github-&gt;Settings-&gt;Integrations..-&gt;Add-&gt;Packagist user: packagist user api\_key: packagist-&gt;User-&gt;Profile-&gt;Show API KEY Domain:

Test: New reslease in Github and check the version in Packagist

### Unit Tests

[](#unit-tests)

install local phpunit

```
composer require --dev phpunit/phpunit ^6
```

```
mkdir tests
cd tests
mkdir TestCase
cd TestCase
mkdir Funcs
```

edit `DatesTest.php`

`cd dates`

```
composer update rozdol/dates
```

To test

```
./vendor/bin/phpunit tests/
```

### Travis CI

[](#travis-ci)

```
git checkout -b travis
git add .travis.yml
git push origin travis
```

##### Detactach from original source

[](#detactach-from-original-source)

```
git remote -v
git remote remove origin
git remote add origin git@github.com:rozdol/dates.git
git push origin random_changes
```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

3

Last Release

2983d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/543388?v=4)[Alex Titoff](/maintainers/rozdol)[@rozdol](https://github.com/rozdol)

---

Top Contributors

[![rozdol](https://avatars.githubusercontent.com/u/543388?v=4)](https://github.com/rozdol "rozdol (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rozdol-dates/health.svg)

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

###  Alternatives

[wapmorgan/morphos

A morphological solution for Russian and English language written completely in PHP. Provides classes to inflect personal names, geographical names, decline and pluralize nouns, generate cardinal and ordinal numerals, spell out money amounts and time.

8291.4M10](/packages/wapmorgan-morphos)[loophp/iterators

The missing PHP iterators.

38582.0k3](/packages/loophp-iterators)[neos/eel

The Embedded Expression Language (Eel) is a building block for creating Domain Specific Languages

122.2M43](/packages/neos-eel)

PHPackages © 2026

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