Laravel site-wide announcement banners for Saucebase, scheduled and targeted, on Vue or React.
A module for Saucebase, the AI-ready Laravel SaaS kit. Modules are Composer packages you add to a Saucebase app; once installed, the code is yours to change.
- A banner on every page, sticky at the top, with no layout changes
- Scheduling: a start and end date, or open-ended
- Audience: visitors, signed-in users, or both
- Dismissable: closed banners stay closed for a year
- Rich text: links and bold text in the message
- Admin panel to write and manage announcements
- Vue and React
New to Saucebase? Start a new app and pick announcements when it asks for modules:
curl -fsSL https://install.saucebase.dev | bashIt installs PHP and Composer if they're missing. With the CLI already installed, run saucebase new my-app instead.
Already have a Saucebase app? Add it with:
php artisan saucebase:module-install announcements
npm install && npm run buildNothing to set up. Write announcements in the admin panel, under Announcements.
php artisan modules:seed --module=announcements --state=showcaseAdds a sample banner and a staff account (announcements@saucebase.dev) that only sees announcements in the admin. It uses the DEMO_PASSWORD from .env.
MIT. See LICENSE.