PHPackages                             jsila/datum - 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. jsila/datum

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

jsila/datum
===========

Razširitev PHP knjižnice Carbon s slovensko različico metode diffForHumans

0.1.0(11y ago)018MITPHP

Since Jun 25Pushed 11y ago1 watchersCompare

[ Source](https://github.com/JSila/Datum)[ Packagist](https://packagist.org/packages/jsila/datum)[ RSS](/packages/jsila-datum/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Datum
=====

[](#datum)

Razred `Datum` predstavlja razširitev odlične PHP knjižnice `Carbon` - ovoja okoli privzetega `DateTime` objekta v PHPju.

`Datum` trenutno vsebuje metodo `relativno`, ki se obnaša enako kot metoda `diffForHumans`, le da je izpis v slovenščini.

Namestitev
==========

[](#namestitev)

Paket je mogoče namestiti preko upravitelja odvisnosti za PHP `Composer` tako, da dodate slednje v `composer.json` projekta:

```
    "require": {
        "jsila/datum": "0.1.0"
    },

```

Uporaba
=======

[](#uporaba)

```
    echo Datum::now()->subMinutes(34)->relativno(); // pred 34 minutami
    echo Datum::now()->addMinutes(4)->relativno(); // čez 4 minute
```

[Povezava](https://github.com/briannesbitt/Carbon#difference-for-humans) do privzete dokumentacije za `diffForHumans` (v angleščini).

###  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

Maturity53

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

Unknown

Total

1

Last Release

4344d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1804602?v=4)[Jernej Sila](/maintainers/JSila)[@JSila](https://github.com/JSila)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jsila-datum/health.svg)

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

###  Alternatives

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

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