# Inertia Notifications > Toasts and notifications for Laravel + Inertia.js Flash toasts from your controllers. Keep notifications in an inbox. Render both in Vue or React. ## Table of Contents ### Getting Started - [Introduction](/inertia-notifications/docs/introduction.md): Inertia Notifications is a free and open source package for toasts, a notification center, and notification preferences in Laravel + Inertia.js apps, with Vue and React components. - [Requirements](/inertia-notifications/docs/requirements.md): Inertia Notifications requires PHP 8.3+, Laravel 12 or 13, Inertia Laravel 3.8+, Inertia.js 3.11+, Vue 3.5+ or React 19, and Tailwind CSS 4.3+. - [Installation](/inertia-notifications/docs/installation.md): Install Inertia Notifications with Composer, add the Vue or React package from the vendor directory or npm, configure Tailwind CSS v4, and render the Toaster. ### Toasts - [Flashing Toasts From Laravel](/inertia-notifications/docs/toasts/flashing-from-laravel.md): Flash toasts from Laravel with the Toast class, pass them to redirects and Inertia responses, and translate them. Learn how flashing works, type the flash data, and move the toasts of the Laravel starter kits to the package. - [Toast Options](/inertia-notifications/docs/toasts/options.md): Give a toast a description, a duration, an ID that replaces an open toast, a progress bar, an image, data, an icon, and a position, and set defaults for every toast in a service provider. - [Toast Actions](/inertia-notifications/docs/toasts/actions.md): Add buttons to toasts that visit a URL with Inertia, send a POST, PUT, PATCH, or DELETE request, dispatch a browser event, or run a callback in Vue or React. - [Browser Toasts](/inertia-notifications/docs/toasts/browser-toasts.md): Show toasts from Vue or React without a server request. Update and dismiss them, track promises and Inertia visits, and react to the reason a toast closed. - [Toasts From JSON Endpoints](/inertia-notifications/docs/toasts/json-endpoints.md): Show the toasts of a useHttp or fetch request, which returns JSON instead of an Inertia page, through the X-InertiaUI-Toasts response header. - [Configuring Toasts](/inertia-notifications/docs/toasts/configuration.md): Configure the durations, the limit, the queue, and the error toasts of every toast with initNotifications(). - [The Toaster](/inertia-notifications/docs/toasts/toaster.md): The props of the Toaster component, how toasts stack, named Toasters, toasts above modal dialogs, and the keyboard and screen reader support of the built-in Toaster. - [Custom Toasts](/inertia-notifications/docs/toasts/custom-toasts.md): Add toast types of your own, render the toasts of a type with your own Vue or React component, and render every toast yourself with useToasts(). - [Testing Toasts](/inertia-notifications/docs/toasts/testing.md): Record the toasts that your code flashes with Toast::fake() and assert on them in Pest or PHPUnit tests. ### Notification Center - [Notification Center Setup](/inertia-notifications/docs/notification-center/setup.md): Store Laravel notifications in an inbox and show them in a bell with a panel. Run the migration, add the HasInbox trait, register the routes, and render the bell. - [Sending Notifications](/inertia-notifications/docs/notification-center/sending-notifications.md): Send Laravel notifications to the notification center with the inbox channel and an InboxMessage. Translate them, show a toast, wait for a read before sending other channels, send a notification once, and collapse the notifications about one thing. - [Announcements](/inertia-notifications/docs/notification-center/announcements.md): Publish one message to every user in an audience, including users who sign up later, with an optional expiry and a read state per user. - [Real-Time Updates](/inertia-notifications/docs/notification-center/real-time-updates.md): Show notifications the moment they are sent with Laravel broadcasting and Echo. Run code on arrival, throttle a category, share changes with other sessions, or poll the counts. - [The NotificationCenter Component](/inertia-notifications/docs/notification-center/component.md): Place the panel of the NotificationCenter component, add tabs, filter by category, and group, snooze, mute, delete, select, and pause notifications. Listen for its events, change its labels, and use it with a keyboard or screen reader. - [Custom Notification Center Markup](/inertia-notifications/docs/notification-center/custom-markup.md): Replace the markup of each notification and of the other parts of the bell and the panel with Vue slots or React render props. - [A Page With Every Notification](/inertia-notifications/docs/notification-center/notifications-page.md): Show every notification on a page of its own with the NotificationList component and Inertia infinite scroll. - [Browser Alerts](/inertia-notifications/docs/notification-center/browser-alerts.md): Reach users in other tabs and applications with an unread count in the tab title and on the app icon, desktop notifications, and a sound. - [Web Push](/inertia-notifications/docs/notification-center/web-push.md): Show notifications on your users' devices while your application is closed, with web push in Chrome, Edge, Firefox, and Safari, without extra packages. - [Teams and Tenants](/inertia-notifications/docs/notification-center/teams-and-tenants.md): Show only the notifications of the current team or tenant, including the teams of the Laravel starter kits, and listen on prefixed broadcast channels. - [Custom Interfaces](/inertia-notifications/docs/notification-center/custom-interfaces.md): Build your own bell, panel, or buttons with the useNotifications() composable in Vue and hook in React, or call the JSON endpoints of the notification center yourself. - [Notifications in PHP](/inertia-notifications/docs/notification-center/reading-and-changing.md): Read, count, and change a user's notifications in PHP with the HasInbox trait. Keep the results of actions, update or retract sent notifications, and import past ones. - [Configuring the Notification Center](/inertia-notifications/docs/notification-center/configuration.md): The inbox options of the configuration file, the shared prop with the counts of the notification center, and pruning old notifications. - [Testing the Notification Center](/inertia-notifications/docs/notification-center/testing.md): Assert on stored inbox notifications with the InteractsWithNotificationCenter trait in Pest or PHPUnit tests. ### Preferences - [Preferences Setup](/inertia-notifications/docs/preferences/setup.md): Let users choose which categories of notifications they receive on each channel. Run the migration, list the categories and channels in the configuration, and render the NotificationPreferences component. - [Categories and Channels](/inertia-notifications/docs/preferences/categories.md): Make categories opt-in, group them under headings, let users turn off a channel for every category, and see which notifications Laravel sends or skips. - [Digests](/inertia-notifications/docs/preferences/digests.md): Let users receive a category of notifications in an hourly, daily, or weekly digest instead of one email at a time, in their own timezone. Schedule the command and change the digest mail. - [Notification Hours](/inertia-notifications/docs/preferences/notification-hours.md): Let users choose the hours of each day when emails, toasts, and alerts reach them, while the notification center still shows each notification right away. - [Pausing Notifications](/inertia-notifications/docs/preferences/pausing.md): Let users pause their notifications until a time they choose, such as for an hour or until tomorrow, while the notification center still shows each notification right away. - [The NotificationPreferences Component](/inertia-notifications/docs/preferences/component.md): Save each preference right away with the NotificationPreferences component, add classes to its parts, replace its markup with slots or render props, and change its labels. - [Custom Preferences Forms](/inertia-notifications/docs/preferences/custom-forms.md): Build your own preferences form with the usePreferences() composable in Vue and hook in React, including digest frequencies, notification hours, and push notifications with usePush(), or call the JSON endpoints yourself. - [Preferences in PHP](/inertia-notifications/docs/preferences/php.md): Read and save the preferences, digest frequencies, notification hours, and pause of a user in PHP, and listen for the events that the package dispatches when they change. - [Testing Preferences](/inertia-notifications/docs/preferences/testing.md): Assert the preferences, digests, notification hours, and pause of a user with the InteractsWithNotificationCenter trait in Pest or PHPUnit tests. ### Advanced - [Styling](/inertia-notifications/docs/styling.md): Change the colors, spacing, and markup of Inertia Notifications toasts with Tailwind CSS v4 theme tokens, part classes, data attributes, CSS variables, and a custom toast slot or render prop. - [Icons](/inertia-notifications/docs/icons.md): Replace the built-in icons of the Toaster, the notification center, and the preferences, and resolve icon names from Laravel to Vue or React components with `setIconResolver()`. - [Translations](/inertia-notifications/docs/translations.md): Translate the built-in text of the Toaster, the notification center, the preferences, and the error toasts with `setTranslations()`, using placeholders and functions for plurals.