Download the PHP package ultiwebtechnologies/laravel-version-toast-notification without Composer
On this page you can find all versions of the php package ultiwebtechnologies/laravel-version-toast-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ultiwebtechnologies/laravel-version-toast-notification
More information about ultiwebtechnologies/laravel-version-toast-notification
Files in ultiwebtechnologies/laravel-version-toast-notification
Package laravel-version-toast-notification
Short Description A Laravel package to display a Bootstrap toast when a new version is available.
License MIT
Informations about the package laravel-version-toast-notification
Introduction
A lightweight, zero-dependency Laravel package that automatically notifies your users in the browser whenever you deploy a new release—no extra release manager or email blasts required.
Releasing new versions and making sure your users know about them can quickly become a blocker—especially for startups without a formal release process or dedicated release manager. Emails are slow, error-prone, and add overhead to every deploy.
This package streamlines the entire flow:
- CI/CD writes a version file
On every commit (or tag), your GitHub Actions (or any CI) grab the latest Git tag and short commit SHA, then write a simplepublic/build.version.json:
composer require ultiwebtechnologies/laravel-version-toast-notification
php artisan version-toast:install
@include('vendor.version-toast.toast')
GitHub Actions Snippet
Add this to your CI workflow (e.g. .github/workflows/deploy-dev.yml) to generate and commit public/build.version.json:
Configuration
You can publish and tweak the default config:
-
version_file: filename in public/ (default: build.version.json)
- poll_interval: how often (in seconds) the browser checks for updates (default: 300)
License
MIT © ULTIweb Technologies