Download the PHP package blemli/filament-audiofeedback without Composer

On this page you can find all versions of the php package blemli/filament-audiofeedback. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-audiofeedback

Filament AudioFeedback

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Delightful, unobtrusive audio feedback for Filament panels, powered by Cuelume — fourteen tiny interaction sounds synthesized live with the Web Audio API. No audio files, no npm install, nothing to configure unless you want to.

Deliberately not annoying: sounds play for toggles, notifications, form submits, sliders, login/logout, drag & drop, and a barely-there whisper on navigation hover. Users get a mute button, a master volume, and (optionally) their own per-sound settings on Filament Breezy's my-profile page — persisted to the database.

Installation

Add the plugin to your panel — that's it:

The Cuelume engine (~10 kB, MIT) is bundled with the plugin and registered through Filament's asset system. No Filament views are overridden — everything hooks into Livewire events, DOM roles and render hooks.

What plays when

Each event maps to the Cuelume sound designed for that exact moment:

Event Default sound Cuelume's description
Notification (success) success Warm three-note confirmation
Notification (danger) error Soft knock and descending refusal
Notification (warning) chime Soft two-note ascending bell
Notification (info / none) whisper Breathy quiet swell
Toggle switched toggle Mechanical click-clack
Toggle buttons changed toggle-buttons → tick Crisp instant tick
Slider released / stepped slider → tick Crisp instant tick
Navigation item hovered nav.hover → whisper The quietest option, made for dense lists
Form submitted loading Brief unresolved rising shimmer
Login ready Focus tick with a harmonic bloom
Logout droplet Single note gliding down
Drag (grab a sortable item) press Dull muted knock
Drop (release it) release Brighter springy tick
Record deleted delete → droplet Single note gliding down

Configuration

Publish the config file if you want to change anything:

The same options are available fluently on the plugin:

Or globally from your AppServiceProvider:

Precedence: config file → configureUsing() → fluent calls in the panel provider.

Notifications

Notifications automatically play the sound matching their status. Override or silence a single notification:

Delete and force-delete actions (including bulk) automatically use the delete event's sound for their success notification instead of the generic success chime.

Mute button

A small speaker icon lets every user opt out. It is shown by default (opt out with ->muteToggle(false)) and can live in four places, matching Filament's render hooks:

Position Where
topbar-start Start of the topbar, after the logo
topbar-end End of the topbar, before the user menu area
user-menu-before Next to the user avatar (default)
user-menu An item inside the user dropdown

Per-user settings (Filament Breezy)

If your panel uses Filament Breezy, opt in to a "Sounds" section on the my-profile page:

The section is a native Filament form: a Toggle to mute everything, a Slider for the volume (with a pip marking the panel default and a Reset hint action), and a Select per event — every sound can be re-mapped to any of the fourteen cues, muted, or left at the panel default, with an instant preview on selection. When two events resolve to the same tune, the affected selects show a warning hint. The section only appears when the BreezyCore plugin is registered on the same panel; hide it per-panel with Breezy's ->withoutMyProfileComponents(['audiofeedback']).

To guard the section per user, pass a closure — it receives the authenticated user:

Choices are saved to the audiofeedback_settings table (the migration ships with the package — just run php artisan migrate) and hydrated on every page, so they follow the user across browsers. The topbar mute button persists through a small authenticated endpoint; guests and apps without the table gracefully fall back to localStorage.

Translations

Ships in English, German, French, Italian and Spanish (en, de, fr, it, es) — the mute button and the profile section follow your app's locale automatically. To adjust strings or add a locale, publish the language files:

The Cuelume sound names themselves (chime, sparkle, …) stay untranslated on purpose — they're identifiers, not copy.

Extras

Uninstalling

Changed your mind? One command cleans up every published trace — config, views, translations, compiled assets, the migration and the audiofeedback_settings table (each deletion asks first, or pass --force):

It finishes with a checklist of the things only you can do: unregister AudioFeedbackPlugin::make() from your panel provider(s), drop any configureUsing() calls and notification macros, remove AUDIOFEEDBACK_ENABLED from .env, then composer remove blemli/filament-audiofeedback and php artisan optimize:clear. It even points out which of your files still mention audiofeedback.

Testing

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-audiofeedback with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^5.0
filament/forms Version ^5.0
filament/tables Version ^5.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package blemli/filament-audiofeedback contains the following files

Loading the files please wait ...