PHPackages                             qedteam/pretty\_timestamps - 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. qedteam/pretty\_timestamps

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

qedteam/pretty\_timestamps
==========================

00PHP

Since Apr 9Pushed 4y ago2 watchersCompare

[ Source](https://github.com/QEDteam/pretty_timestamps)[ Packagist](https://packagist.org/packages/qedteam/pretty_timestamps)[ RSS](/packages/qedteam-pretty-timestamps/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

QED Pretty Timestamps
=====================

[](#qed-pretty-timestamps)

Install
-------

[](#install)

```
composer require qedteam/pretty_timestamps
```

Usage
-----

[](#usage)

Use trait in model and set up format and timezone

```
    use PrettyTimestamps\PrettyTimestamps;

    class ModelName extends Model {

        use PrettyTimestamps;

        // Pretty timestamp format
        protected $prettyFormat = 'd.m.Y';

        // Pretty timestamp timezone
        protected $prettyNewTimezone = 'CET';

        // Add timestamp + '_pretty' to model appended attributes
        protected $appends = ['created_at_pretty', 'updated_at_pretty'];
    }
```

Display pretty timestamp

```
    $model = ModelName::first();
    return $model->created_at_pretty;
```

License
-------

[](#license)

[MIT](http://vjpr.mit-license.org)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1269365?v=4)[Anto Čabraja](/maintainers/acabraja)[@acabraja](https://github.com/acabraja)

---

Top Contributors

[![edo215](https://avatars.githubusercontent.com/u/12921379?v=4)](https://github.com/edo215 "edo215 (2 commits)")

### Embed Badge

![Health badge](/badges/qedteam-pretty-timestamps/health.svg)

```
[![Health](https://phpackages.com/badges/qedteam-pretty-timestamps/health.svg)](https://phpackages.com/packages/qedteam-pretty-timestamps)
```

###  Alternatives

[minime/brasil-endereco

Brasil/Endereco é um componente de consulta que facilita a obtenção de endereços a partir do site dos correios

163.1k](/packages/minime-brasil-endereco)

PHPackages © 2026

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