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

ActiveLibrary

aweram/traits-helpers
=====================

Helpful traits and helper functions

v3.0.0(3mo ago)0401MITPHP

Since Feb 16Pushed 3mo ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (5)Used By (1)

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

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

Пакет содержит два `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

37

—

LowBetter than 83% of packages

Maintenance80

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

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

Total

4

Last Release

108d ago

Major Versions

v1.0.0 → v2.0.02024-04-11

v2.1.0 → v3.0.02026-01-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f823c4dfc1f542f8e1d661f0bd8d20a9de26d2c40799a1273925479a58995f6?d=identicon)[Aweram](/maintainers/Aweram)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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