PHPackages                             ultraviolettes/filament-audio-field-column - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. ultraviolettes/filament-audio-field-column

ActiveLibrary[Image &amp; Media](/categories/media)

ultraviolettes/filament-audio-field-column
==========================================

A Filament plugin to display audio players with circular progress in forms, tables, and infolists

v1.1.3(2mo ago)762—0%1MITBladePHP ^8.2

Since Jan 4Pushed 2mo agoCompare

[ Source](https://github.com/ultraviolettes/filament-audio-field-column)[ Packagist](https://packagist.org/packages/ultraviolettes/filament-audio-field-column)[ Docs](https://github.com/ultraviolettes/filament-audio-field-column)[ RSS](/packages/ultraviolettes-filament-audio-field-column/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (6)Versions (5)Used By (0)

Filament Audio Field &amp; Column
=================================

[](#filament-audio-field--column)

A Filament plugin that provides audio player components with circular progress for forms, tables, and infolists.

[![Filament Audio](https://camo.githubusercontent.com/e3e104f804ae3d0f9a538cc5ca081bf6f3446ad439efb13c6fea557e92a43dbf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d763425323025374325323076352d6f72616e6765)](https://camo.githubusercontent.com/e3e104f804ae3d0f9a538cc5ca081bf6f3446ad439efb13c6fea557e92a43dbf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d763425323025374325323076352d6f72616e6765)[![PHP](https://camo.githubusercontent.com/87a9b94eb012dd8b2e6f9b91a6ceda9768e1bb9ea33ea60f540c3490534683ad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d626c7565)](https://camo.githubusercontent.com/87a9b94eb012dd8b2e6f9b91a6ceda9768e1bb9ea33ea60f540c3490534683ad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d626c7565)[![Laravel](https://camo.githubusercontent.com/123e29ab26f011a69c70a0f5d4ff03df1fbd6b71c541f9513cf1773de5e1e482/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31312b2d726564)](https://camo.githubusercontent.com/123e29ab26f011a69c70a0f5d4ff03df1fbd6b71c541f9513cf1773de5e1e482/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31312b2d726564)[![License](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)

[![Demo](demo.gif)](demo.gif)

Features
--------

[](#features)

- Play/Pause button with smooth animations
- Circular progress indicator (SVG-based)
- Support for local and remote audio files (MP3, etc.)
- Dark mode support
- Optional volume control
- Optional duration display
- Customizable size and progress color
- Auto-pause when another player starts (only one plays at a time)
- Works in Tables, Infolists, and Forms

Installation
------------

[](#installation)

```
composer require ultraviolettes/filament-audio-field-column
```

Usage
-----

[](#usage)

### Table Column

[](#table-column)

Display an audio player in your table:

```
use Ultraviolettes\FilamentAudio\Tables\Columns\AudioColumn;

public static function table(Table $table): Table
{
    return $table
        ->columns([
            AudioColumn::make('audio_url')
                ->label('Preview'),

            // Or with a custom URL
            AudioColumn::make('preview')
                ->audioUrl(fn ($record) => $record->getAudioUrl())
                ->size(40)
                ->progressColor('#10b981'),
        ]);
}
```

### Infolist Entry

[](#infolist-entry)

Display an audio player in your infolist:

```
use Ultraviolettes\FilamentAudio\Infolists\Components\AudioEntry;

public static function infolist(Infolist $infolist): Infolist
{
    return $infolist
        ->schema([
            AudioEntry::make('audio_url')
                ->label('Audio Preview')
                ->showDuration()
                ->showVolume(),
        ]);
}
```

### Form Field

[](#form-field)

Display an audio preview in your form (read-only player):

```
use Ultraviolettes\FilamentAudio\Forms\Components\AudioField;

public static function form(Form $form): Form
{
    return $form
        ->schema([
            AudioField::make('audio_url')
                ->label('Audio Preview')
                ->audioUrl(fn ($record) => $record?->audio_url)
                ->showDuration()
                ->showVolume()
                ->size(48),
        ]);
}
```

Configuration Options
---------------------

[](#configuration-options)

All components support the following options:

MethodDescriptionDefault`audioUrl(string|Closure)`Set the audio URL directlyUses state value`size(int)`Size of the player in pixels32 (column/entry), 48 (field)`progressColor(string)`Color of the progress circle`#00bfff``showDuration(bool)`Show the duration displayfalse (column/entry), true (field)`showVolume(bool)`Show volume controlfalseExamples
--------

[](#examples)

### Basic Table Column

[](#basic-table-column)

```
AudioColumn::make('audio_file')
```

### Customized Column

[](#customized-column)

```
AudioColumn::make('preview')
    ->label('Audio')
    ->audioUrl(fn ($record) => Storage::url($record->audio_path))
    ->size(36)
    ->progressColor('#f59e0b')
    ->showDuration()
```

### Full-Featured Form Field

[](#full-featured-form-field)

```
AudioField::make('audio_preview')
    ->label('Current Audio')
    ->audioUrl(fn ($record) => $record?->getFirstMediaUrl('audio'))
    ->size(56)
    ->progressColor('#8b5cf6')
    ->showDuration()
    ->showVolume()
```

### With Spatie Media Library

[](#with-spatie-media-library)

```
AudioColumn::make('audio')
    ->audioUrl(fn ($record) => $record->getFirstMediaUrl('tracks'))
```

### Remote URLs

[](#remote-urls)

```
AudioColumn::make('sample')
    ->audioUrl('https://example.com/audio/sample.mp3')
```

Styling
-------

[](#styling)

The component uses Tailwind CSS classes and supports dark mode out of the box. The progress circle color can be customized using the `progressColor()` method with any valid CSS color value:

```
->progressColor('#10b981')     // Hex
->progressColor('rgb(16, 185, 129)')  // RGB
->progressColor('deepskyblue') // Named color
```

Browser Support
---------------

[](#browser-support)

The audio player uses the native HTML5 `` element and supports all modern browsers. Supported audio formats depend on the browser:

- **MP3**: All modern browsers
- **WAV**: All modern browsers
- **OGG**: Firefox, Chrome, Opera
- **AAC**: Safari, Chrome, Edge

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 11+
- Filament 4.x or 5.x

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

MIT License. See [LICENSE.md](LICENSE.md) for more information.

Credits
-------

[](#credits)

- Inspired by the audio preview component from [BTY Monorepo](https://github.com/ultraviolettes)
- Built with [Filament](https://filamentphp.com)
- Uses [Alpine.js](https://alpinejs.dev) for interactivity

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance87

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

77d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ed5d217c20a17da672cb04aaf87c033ff7e35af79e3c5a6e1ac818eb163a924?d=identicon)[croustibat](/maintainers/croustibat)

---

Top Contributors

[![croustibat](https://avatars.githubusercontent.com/u/1169456?v=4)](https://github.com/croustibat "croustibat (7 commits)")

---

Tags

laravelaudiofilamentmp3playercircular-progress

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ultraviolettes-filament-audio-field-column/health.svg)

```
[![Health](https://phpackages.com/badges/ultraviolettes-filament-audio-field-column/health.svg)](https://phpackages.com/packages/ultraviolettes-filament-audio-field-column)
```

###  Alternatives

[awcodes/filament-curator

A media picker plugin for FilamentPHP.

432280.8k16](/packages/awcodes-filament-curator)[joshembling/image-optimizer

Optimize your Filament images before they reach your database.

111138.7k12](/packages/joshembling-image-optimizer)[tomatophp/filament-media-manager

Manage your media files using spatie media library with easy to use GUI for FilamentPHP

14441.1k3](/packages/tomatophp-filament-media-manager)[mansoor/filament-unsplash-picker

This is my package filament-unsplash-picker

226.9k2](/packages/mansoor-filament-unsplash-picker)[webplusm/gallery-json-media

a filament media storing in a Json field

185.7k](/packages/webplusm-gallery-json-media)[acekyd/laravelmp3

A light weight Laravel package for simple operations with mp3 files

213.7k](/packages/acekyd-laravelmp3)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
