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 3d 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 37% 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

2324d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/777a92668f51536d86a9fed19c92180d626b46f134b002c3a068e92d295c7541?d=identicon)[lloople](/maintainers/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.6M2.6k](/packages/craftcms-cms)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[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.

44643.1k1](/packages/pressbooks-pressbooks)[victorybiz/laravel-simple-select

Laravel Simple Select inputs component for Blade and Livewire.

13721.1k](/packages/victorybiz-laravel-simple-select)[victorybiz/laravel-tel-input

Laravel Telephone Input component for Blade and Livewire based on the intl-tel-input JavaScript plugin.

54127.8k1](/packages/victorybiz-laravel-tel-input)

PHPackages © 2026

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