đ Laravel Toaster Magic â v2.7.0 Release Notes
Release date: 2026-11-26
Type: Minor release, no breaking changes and no runtime changes
v2.7.0 is an "AI agent support" release. The package now ships an Agent Skill and a
Laravel Boost guideline that teach AI coding agents (Claude Code, Google Antigravity, and every
agent Laravel Boost supports) how to set up and use Laravel Toaster Magic correctly.
âšī¸ Nothing changes in your application. No JavaScript, CSS, config option or toast behaviour
was touched. Upgrading is a plaincomposer update.
⨠Highlights
- đ¤ Agent Skill in the open Agent Skills format. The agent loads it
only when a task involves toasts or flash messages. - đ§ Laravel Boost guideline.
boost:install/boost:updatepicks up the guideline and the
skill automatically. - đ ī¸
php artisan toast-magic:skillscopies the skill into a project for Claude Code and Google
Antigravity when you do not use Boost. - đ One-command plugins for Claude Code and Google Antigravity, installed from GitHub.
- đŦ All 517 presets in the skill's catalogue, so agents pick real preset names instead of
inventing them.
đ¤ What the skill teaches
Agents tend to get a few things about this package wrong. The skill covers:
- Setup:
{!! ToastMagic::styles() !!}in<head>and{!! ToastMagic::scripts() !!}before
</body>(raw echo, not{{ }}), CSP nonces and Vite. - The APIs: the facade, the shared
window.toastMagicinstance (nevernew ToastMagic()), HTML
data-toast-*attributes and the LivewiretoastMagicevent, wheretitleis the heading and
messageis the description. - Security: toast text is escaped automatically, so user input is passed as-is without
e().
['html' => true]is only for markup the developer controls, andescape_htmlstays on. - Configuration: every theme, position, animation and option, and the fact that invalid values
fall back silently. - Presets: the pack must be enabled, names must be exact, and
avatarwins overpreset. A
catalogue of all 517 presets lists each one's pack, icon and recommended type. - Troubleshooting: a symptom â cause table for toasts that do not appear, look unstyled or show
the wrong icon.
đĻ Getting the skill
Laravel Boost
Nothing to do. After upgrading, run:
php artisan boost:updateBoost finds the skill in resources/boost/skills and the guideline in resources/boost/guidelines,
and installs them for your agents.
Without Boost
php artisan toast-magic:skills # Claude Code and Google Antigravity
php artisan toast-magic:skills --claude # only .claude/skills/laravel-toaster-magic
php artisan toast-magic:skills --antigravity # only .agents/skills/laravel-toaster-magic
php artisan toast-magic:skills --force # overwrite, e.g. after updating the packageCommit the created folder so everyone on your team gets the skill. Existing files are not
overwritten unless you pass --force.
As a plugin, for every project on your machine
# Claude Code
/plugin install laravel-toaster-magic --marketplace devrabiul/laravel-toaster-magic
# Google Antigravity
agy plugin install https://github.com/devrabiul/laravel-toaster-magicđ§° For contributors
The skill and the guideline describe the preset catalogue, so they are now generated by
npm run build from the shipped pack files rather than written by hand. npm run build:check, which
already runs in CI, fails when they are out of date, and the build stops if a new preset has no
recommended type. The same build keeps the version in both plugin manifests in step with
package.json. See CONTRIBUTING.md.
đ Fixed
- PRESETS.md referred to a
ToastMagic::PRESETSconstant that does not exist. It now points to
ToastMagic::allPresets(),presetManifest()andenabledPresets(). src/presets.phpsaidbuild/presets/generate.pyregenerates it, which was never true. The
header now says how the file is kept in step with the pack files.
đ§Š Compatibility
| Requirement | Supported |
|---|---|
| PHP | 8.0 â 8.5 |
| Laravel | 8 â 13 |
| Livewire | v3 & v4 |
illuminate/console is now a declared dependency, needed by the new Artisan command. Every Laravel
application already includes it.
âŦī¸ Upgrade Guide
composer update devrabiul/laravel-toaster-magicThat is all. The CSS and JavaScript did not change, so there is nothing to republish. The assets
re-copy themselves once on the first request after the upgrade, as they do for every release.
Optionally, give your AI agent the new skill. See Getting the skill.
đ Thanks
Thanks to everyone using and reporting issues on Laravel Toaster Magic. If it helps you in
production, consider planting a tree. đą
Full changelog: see CHANGELOG.md.