PHPackages                             org.majkel/toolbox - 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. org.majkel/toolbox

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

org.majkel/toolbox
==================

Toolbox library containing various utilities

v0.1.0(9y ago)053MITPHPPHP &gt;=5.3.3

Since Aug 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/majkel89/toolbox)[ Packagist](https://packagist.org/packages/org.majkel/toolbox)[ Docs](https://github.com/majkel89)[ RSS](/packages/orgmajkel-toolbox/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

majkel toolbox
==============

[](#majkel-toolbox)

[![Build Status](https://camo.githubusercontent.com/afae8cb74257fb1ba64de480c890455b5bffbe666bc7d961ff97fc62638d0bfe/68747470733a2f2f7472617669732d63692e6f72672f6d616a6b656c38392f746f6f6c626f782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/majkel89/toolbox)[![SensioLabsInsight](https://camo.githubusercontent.com/a49ceb39d39ab6508bc64aa2af2f9b0056a677ad0bd261ab30b668f14fbf06cf/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39373636663037322d353231662d346530332d383037652d6533393138326337326435332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/9766f072-521f-4e03-807e-e39182c72d53)[![Latest Stable Version](https://camo.githubusercontent.com/dacf1b40d4bbc71caf20603e47d64d6276cf89b5a6e674a04d7231e79d724f66/68747470733a2f2f706f7365722e707567782e6f72672f6f72672e6d616a6b656c2f746f6f6c626f782f762f737461626c65)](https://packagist.org/packages/org.majkel/toolbox)[![Total Downloads](https://camo.githubusercontent.com/aa9ac7b30d17e7d3ce7cbb48f372332688b2481df3eafa5583d4ec4f6aad9251/68747470733a2f2f706f7365722e707567782e6f72672f6f72672e6d616a6b656c2f746f6f6c626f782f646f776e6c6f616473)](https://packagist.org/packages/org.majkel/toolbox)[![Latest Unstable Version](https://camo.githubusercontent.com/efc6c9d84afb9ea6c72a0eafc61b4cf9d6576772c27bb832a58710ede268af7e/68747470733a2f2f706f7365722e707567782e6f72672f6f72672e6d616a6b656c2f746f6f6c626f782f762f756e737461626c65)](https://packagist.org/packages/org.majkel/toolbox)[![PHP Version](https://camo.githubusercontent.com/3ca7edd1dfd3a02990799e336113188aa5cfd0a61ace5cc1c6246aecff814598/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d504850253230352e332532422d6c69676874677265792e737667)](https://camo.githubusercontent.com/3ca7edd1dfd3a02990799e336113188aa5cfd0a61ace5cc1c6246aecff814598/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d504850253230352e332532422d6c69676874677265792e737667)[![License](https://camo.githubusercontent.com/59675aefde22638fdd2387d79376c9d58e9f8cdd6dac266959afefd59002447b/68747470733a2f2f706f7365722e707567782e6f72672f6f72672e6d616a6b656c2f746f6f6c626f782f6c6963656e7365)](https://packagist.org/packages/org.majkel/toolbox)

Toolbox library containing various utilities

Table of Contents
-----------------

[](#table-of-contents)

1. [DateTime](#datetime)
    1. [Clarion date](#clarion-date)
    2. [Comarch date](#comarch-date)

DateTime
========

[](#datetime)

Utilities to manipulate date and time.

Clarion date
------------

[](#clarion-date)

Converts Clarion date to DateTime and vice versa

```
require_once 'vendor/autoload.php';

use org\majkel\toolbox\datetime\Clarion;

// test if value is valid Carion date
$valid = Clarion::isValid(77028);

// convert Clarion date to DateTime
$dateTime = Clarion::toDate(77028);

// convert DateTime to Clarion date
$clarionTimestamp = Clarion::fromDate(new \DateTime());
```

Comarch date
------------

[](#comarch-date)

Converts Comarch Optima XL date to DateTime and vice versa

```
require_once 'vendor/autoload.php';

use org\majkel\toolbox\datetime\Comarch;

// test if value is valid Comarch date
$valid = Comarch::isValid(690598877);

// convert Comarch date to DateTime
$dateTime = Comarch::toDate(690598877);

// convert DateTime to Comarch date
$clarionTimestamp = Comarch::fromDate(new \DateTime());
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

3600d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/731428?v=4)[majkel](/maintainers/majkel)[@majkel](https://github.com/majkel)

---

Top Contributors

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

---

Tags

utilitydatetimetooltimedateutilitiesToolboxcomarchclarion

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/orgmajkel-toolbox/health.svg)

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

###  Alternatives

[league/period

Time range API for PHP

7335.8M23](/packages/league-period)[brick/date-time

Date and time library

3663.8M100](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

20810.4M16](/packages/aeon-php-calendar)[tplaner/when

Date/Calendar recursion library.

5331.1M8](/packages/tplaner-when)[kartik-v/php-date-formatter

A Javascript datetime formatting and manipulation library using PHP date-time formats.

461.6M3](/packages/kartik-v-php-date-formatter)[dater/dater

Compact PHP library for working with date/time in different formats &amp; timezones.

14484.2k](/packages/dater-dater)

PHPackages © 2026

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