Download the PHP package ruelluna/filament-voice-textarea without Composer

On this page you can find all versions of the php package ruelluna/filament-voice-textarea. 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-voice-textarea

Filament Voice Textarea Plugin

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A Filament plugin that provides a VoiceTextarea field component, allowing users to fill textarea fields using their microphone (voice-to-text) via the browser's built-in speech recognition API.

🚀 Quick Start

  1. Install the package:

  2. Use in your forms:

  3. That's it! The microphone button will automatically appear in the lower right corner of your textarea.

Features

Browser Support

This plugin uses the Web Speech API, which is currently supported in:

Installation

You can install the package via composer:

Automatic Asset Loading

The package automatically loads all required assets (JavaScript, CSS, and views) when installed. No manual asset publishing is required!

What happens automatically:

For package developers: If you're developing the package locally, you can build the assets:

Quick Installation

Run the installation command to set up everything automatically:

This command will:

Manual Installation (Optional)

If you prefer to install components manually:

  1. Publish the config file (optional):

  2. Publish the views (optional):

Note: Assets are automatically loaded and do not need to be published manually.

Usage

Basic Usage

Use the VoiceTextarea component in your Filament forms:

Advanced Usage

In Filament Resources

How It Works

  1. Enable Voice: Call the enableVoice() method on your VoiceTextarea field
  2. Microphone Button: A microphone icon appears next to the textarea
  3. Click to Start: Click the microphone button to begin voice recognition
  4. Speak: Your speech is converted to text in real-time
  5. Auto-append: Recognized text is automatically added to the textarea
  6. Form Integration: Changes are automatically detected by Filament/Livewire

Configuration

The plugin publishes a configuration file at config/voice-textarea.php:

Troubleshooting

Microphone Access Denied

If you see a "Please allow microphone access" error:

  1. Check your browser's microphone permissions
  2. Click the microphone icon in the address bar
  3. Allow microphone access for your site

Speech Recognition Not Working

No Speech Detected

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of filament-voice-textarea with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/forms Version ^3.0|^4.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 ruelluna/filament-voice-textarea contains the following files

Loading the files please wait ...