PHPackages                             4geo35/traits-helpers - 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. 4geo35/traits-helpers

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

4geo35/traits-helpers
=====================

Helpful traits and helper functions

v1.1.4(3mo ago)07111MITPHP

Since Dec 9Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/4geo35/traits-helpers)[ Packagist](https://packagist.org/packages/4geo35/traits-helpers)[ RSS](/packages/4geo35-traits-helpers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (15)Used By (11)

#### Описание

[](#описание)

Пакет содержит два `trait` для моделей. `ShouldSlug` генерирует `slug` для модели при создании и обновлении. `ShuldHumanDate` добавляет к модели аттрибуты форматированной даты, даты формируются при помощи `Carbon`, через функцию `date_helper()`.

`date_helper()` использует класс `DateHelper`, в котором есть методы:

- `forFilter` формирует дату для фильтра, если указать дату "до", то добавит к дате время ` 23:59:59`, иначе добавит ` 00:00:00`
- `changeTz` меняет часовой пояс на `Europe/Moscow`
- `format` форматирует дату, по заданному формату, по умолчанию это `d.m.Y H:i`

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance81

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity46

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

Recently: every ~60 days

Total

14

Last Release

102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c7a6b26bcf658421982260ad7cca471669f1c190bd5c0798ca701c656c713c3?d=identicon)[4geo35](/maintainers/4geo35)

---

Top Contributors

[![Aweram](https://avatars.githubusercontent.com/u/141733509?v=4)](https://github.com/Aweram "Aweram (15 commits)")

### Embed Badge

![Health badge](/badges/4geo35-traits-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/4geo35-traits-helpers/health.svg)](https://phpackages.com/packages/4geo35-traits-helpers)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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