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.5(3mo ago)012711MITPHP

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 1w ago

READMEChangelogDependencies (2)Versions (16)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

41

—

FairBetter than 87% of packages

Maintenance81

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity47

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

Recently: every ~80 days

Total

15

Last Release

99d ago

### Community

Maintainers

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

---

Top Contributors

[![Aweram](https://avatars.githubusercontent.com/u/141733509?v=4)](https://github.com/Aweram "Aweram (16 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

[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

604.0k2](/packages/crumbls-layup)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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