Manage site-wide announcements easily with Laravel Announcement
hocza just released a new package that we can use to simplify the management of site-wide announcements.
With "Laravel Announcement" you can display auto-expiring announcements. To achieve this the package simply uses the Redis's TTL.
Install this package using:
composer require laravelhungary/announcement
composer require predis/predis
Add the followings to config/app.php:
to the providers array
to the aliases array
'Announce' => LaravelHungary\Announcement\Facades\Announce::class,
This post is submitted by one of our members. You may submit a new post here.