PHPackages                             freedomsex/base-utilites - 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. freedomsex/base-utilites

Abandoned → [a4sex/base-utilites](/?search=a4sex%2Fbase-utilites)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

freedomsex/base-utilites
========================

0.1.1(3y ago)01.1k2MITPHPPHP &gt;=7.2.0

Since Feb 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/freedomsex/base-utilites)[ Packagist](https://packagist.org/packages/freedomsex/base-utilites)[ RSS](/packages/freedomsex-base-utilites/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (12)Used By (2)

Base Utilites
=============

[](#base-utilites)

### DateOffset

[](#dateoffset)

`inc` - increase, `dec` - decrease. Time periods:

- Sec
- Min
- Hour
- Day
- Month

```
DateOffset::incSec($sec = 1, $time = null);
DateOffset::decDay($day = 1, $time = null);

```

The first parameter is the period(default 1). The second parameter is optional - time, timestamp. If not specified, countdown from now.

```
DateOffset::incDay(5); // from now, time() + 5 days
DateOffset::decHour(); // 1 hour ago (default 1)
DateOffset::decDay(2, '2020-02-02 20:20:02');
// 2020-01-31 20:20:02

```

```
DateOffset::offset($sec, $time = null, $negative = false);

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

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

Recently: every ~0 days

Total

11

Last Release

1327d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef0022ba73eb67e483511c396c9377b8d8ebd9541c75a22e8cbaac876c882edd?d=identicon)[freedomsex](/maintainers/freedomsex)

---

Top Contributors

[![tebaly](https://avatars.githubusercontent.com/u/9466814?v=4)](https://github.com/tebaly "tebaly (24 commits)")

### Embed Badge

![Health badge](/badges/freedomsex-base-utilites/health.svg)

```
[![Health](https://phpackages.com/badges/freedomsex-base-utilites/health.svg)](https://phpackages.com/packages/freedomsex-base-utilites)
```

PHPackages © 2026

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