davidpiesse/nova-audio
Audio Field for Laravel Nova
201,698
22
| Install | |
|---|---|
composer require davidpiesse/nova-audio |
|
| Latest Version: | 0.0.3 |
| PHP: | >=7.1.0 |
| License: | MIT |
| Last Updated: | Dec 8, 2022 |
| Links: | GitHub · Packagist |
Maintainer: davidpiesse
Audio Field
An audio field for use in Laravel Nova.

For use when you are storing an audio file and want to listen to it from within Nova. It is built on the core File Field field type. See here for more info
Under the hood it uses thabsic HTML5 Audio tag. So MP3, WAV and OGG are supported :)
Installation
composer require davidpiesse/nova-audio
To use the field add it to your Nova Resources file (such as User.php)
use Davidpiesse\Audio\Audio;
public function fields(Request $request)
{
return [
...
Audio::make('Audio')->disk('public'),
Audio::make('Audio', function() {
return 'path-to-your-folder-on-s3'.$this->audio_file_name_from_model;
})->disk('s3')
->expires(5),
...
];
}
Related Packages
epartment/nova-dependency-container
A Laravel Nova field container allowing to depend on other fields values
4,709,624
378
ebess/advanced-nova-media-library
Laravel Nova tools for managing the Spatie media library.
3,922,900
616
kabbouchi/nova-impersonate
A Laravel Nova field allows you to authenticate as your users.
2,281,603
234
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 0.0.3 | >=7.1.0 | MIT | |
| 0.0.2 | >=7.1.0 | MIT | |
| 0.0.1 | >=7.1.0 | MIT |