Laravel Inertia Toast

(github.com)

7 points | by veekthoven 4 days ago ago

2 comments

  • layer8 2 days ago
  • veekthoven 4 days ago

    An opinionated package that provides beautiful toast notifications for Laravel + Inertia.js applications. Fluent PHP API, multi-toast support, redirect-safe, with Vue 3 and React adapters.

    Toast notifications can can be triggered from both your backend (PHP) and frontend (JavaScript). Use Toast::success('Saved!') in your controllers or useToast().success('Copied!') in your components. Same beautiful toasts either way.