PHPackages                             lloople/laravel-blade-current-year - 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. [Templating &amp; Views](/categories/templating)
4. /
5. lloople/laravel-blade-current-year

ActiveLibrary[Templating &amp; Views](/categories/templating)

lloople/laravel-blade-current-year
==================================

Display the current year in your blade views

v1.0.0(6y ago)261MITPHPPHP ^7.1CI failing

Since Jan 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Lloople/laravel-blade-current-year)[ Packagist](https://packagist.org/packages/lloople/laravel-blade-current-year)[ Docs](https://github.com/lloople/laravel-blade-current-year)[ RSS](/packages/lloople-laravel-blade-current-year/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Laravel Blade Current Year
==========================

[](#laravel-blade-current-year)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5e3c31b5954589a13e4a2c39f793bb107d23eba33555dce3d8660d17388aa49b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6c6f6f706c652f6c61726176656c2d626c6164652d63757272656e742d796561722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lloople/laravel-blade-current-year)[![Total Downloads](https://camo.githubusercontent.com/ab0545f64f89de663c45d2a9666b7de67244476cee1b8f5ca51aaf3daf590892/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6c6f6f706c652f6c61726176656c2d626c6164652d63757272656e742d796561722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lloople/laravel-blade-current-year)[![Buy me a tree](https://camo.githubusercontent.com/2c22789a9072a58176c359f203312a6af4c240b7b7b836aec8ddc3ca119719c5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275792532306d6525323061253230747265652d2546302539462538432542332d6c69676874677265656e)](https://offset.earth/laravel)

This package was made as a joke, more information here. You can use it to show the current copyright year on your footer.

Why?
----

[](#why)

It all started with [this tweet](https://twitter.com/henrikemacedo/status/1212316420450799616) by [Henrique Macedo](https://twitter.com/henrikemacedo)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require lloople/laravel-blade-current-year
```

Usage
-----

[](#usage)

Use this blade directive on your views:

```
@currentYear
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Caneco](https://github.com/caneco)
- [Marcel Pociot](https://github.com/mpociot)
- [David Llop](https://github.com/lloople)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Treeware
--------

[](#treeware)

You're free to use this package, but if it makes it to your production environment I would highly appreciate you buying the world a tree.

It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you contribute to my forest you’ll be creating employment for local families and restoring wildlife habitats.

You can buy trees at for Laravel forest here offset.earth/laravel

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

2376d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5665466?v=4)[David Llop](/maintainers/lloople)[@Lloople](https://github.com/Lloople)

---

Top Contributors

[![Lloople](https://avatars.githubusercontent.com/u/5665466?v=4)](https://github.com/Lloople "Lloople (6 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

bladecurrent-yearjokelaravellaravel-packagephpupdate-copyrightlaravel-bladellooplelaravel-blade-current-year

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lloople-laravel-blade-current-year/health.svg)

```
[![Health](https://phpackages.com/badges/lloople-laravel-blade-current-year/health.svg)](https://phpackages.com/packages/lloople-laravel-blade-current-year)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13047.0M2.2k](/packages/illuminate-view)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)

PHPackages © 2026

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