PHP code example of glebsons4ntos / filament-voice-transcribe
1. Go to this page and download the library: Download glebsons4ntos/filament-voice-transcribe library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
glebsons4ntos / filament-voice-transcribe example snippets
use GlebsonS4ntos\FilamentVoiceTranscribe\Forms\VoiceInput;
VoiceInput::make('name')
->voiceLanguage('pt-BR');
VoiceInput::make('name')
->voiceLanguage('pt-BR')
->prefixVoiceButton();
VoiceInput::make('name')
->voiceLanguage('pt-BR')
->suffixVoiceButton();
VoiceInput::make('name')
->voiceLanguage('pt-BR')
->inlineVoiceButton(false);
use GlebsonS4ntos\FilamentVoiceTranscribe\Forms\VoiceTextarea;
VoiceTextarea::make('description')
->voiceLanguage('pt-BR')
->rows(5);
VoiceTextarea::make('description')
->voiceLanguage('pt-BR')
->bottomRightVoiceButton();
->topLeftVoiceButton()
->topCenterVoiceButton()
->topRightVoiceButton()
->centerLeftVoiceButton()
->centerRightVoiceButton()
->bottomLeftVoiceButton()
->bottomCenterVoiceButton()
->bottomRightVoiceButton()
use GlebsonS4ntos\FilamentVoiceTranscribe\Infolists\VoiceTextEntry;
VoiceTextEntry::make('description')
->voiceLanguage('pt-BR');
VoiceTextEntry::make('description')
->voiceLanguage('pt-BR')
->copyable();
VoiceTextEntry::make('description')
->voiceLanguage('pt-BR')
->suffixVoiceButton();
->voiceLanguage('pt-BR')
->voiceLanguage('en-US')
->voiceLanguage('es-ES')
bash
php artisan filament:assets