Download the PHP package chk/voicesearch without Composer

On this page you can find all versions of the php package chk/voicesearch. 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 voicesearch

CHK VoiceSearch — Voice Search for Magento 2

Adds a microphone button to the Magento 2 Luma storefront search bar so customers can search by speaking instead of typing.

Requirements

Dependency Version
PHP 8.1 – 8.4
Magento 2.4.4 – 2.4.x
Browser Chrome / Edge (Chromium) — requires Web Speech API + HTTPS

Note: iOS Safari and Firefox do not support the Web Speech API. The mic button is automatically hidden on unsupported browsers and non-HTTPS pages.

Installation

Composer (recommended)

Manual

  1. Copy the module directory to app/code/CHK/VoiceSearch/
  2. Run the commands above from step 2.

Configuration

Stores → Configuration → CHK Voice Search Tools → Search by Voice

Setting Options Default
Module Enabled Yes / No No
Input Search ID HTML id of the search input search
Device Scope Mobile only / Desktop & tablet / All Mobile
Voice Language 60 locales across 35 languages en-US

Store must be served over HTTPS for the browser to grant microphone access.

How It Works

  1. A mic icon is injected into the Luma search bar (inside the search input for desktop; floated alongside the form for mobile).
  2. Clicking the mic starts speech recognition via the browser's SpeechRecognition API (Chrome / Edge).
  3. When the browser returns a transcript, the module fills the search input and submits the form automatically.

Supported Languages (60 locales)

Afrikaans, Albanian, Arabic (SA / AE / EG), Bulgarian, Catalan, Chinese (Simplified / Traditional), Croatian, Czech, Danish, Dutch, English (AU / CA / IN / NZ / ZA / GB / US), Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Malay, Norwegian, Polish, Portuguese (BR / PT), Romanian, Russian, Slovak, Slovenian, Spanish (AR / CL / CO / MX / ES / US / VE), Swedish, Thai, Turkish, Ukrainian, Vietnamese, Welsh.

Compatibility Notes

License

OSL-3.0 / AFL-3.0

Author

Koushik CH — chkoushik.com


All versions of voicesearch with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
magento/framework Version ~103.0 || ~104.0
magento/module-search Version ~101.0 || ~102.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 chk/voicesearch contains the following files

Loading the files please wait ...