lloople/laravel-blade-current-year

Display the current year in your blade views

v1.0.0 2020-01-01 19:02 UTC

This package is auto-updated.

Last update: 2024-10-29 05:53:12 UTC


README

Latest Version on Packagist Total Downloads Buy me a tree

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

Why?

It all started with this tweet by Henrique Macedo

Installation

You can install the package via composer:

composer require lloople/laravel-blade-current-year

Usage

Use this blade directive on your views:

@currentYear

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email d.lloople@icloud.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

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

This package was generated using the Laravel Package Boilerplate.