{"id":22576623,"url":"https://github.com/ndolestudio/speech-to-text-php","last_synced_at":"2026-03-11T00:42:32.683Z","repository":{"id":37517336,"uuid":"154498504","full_name":"NdoleStudio/speech-to-text-php","owner":"NdoleStudio","description":"Sample PHP/Laravel Application to convert Speech to Text using the IBM Watson API","archived":false,"fork":false,"pushed_at":"2022-12-08T23:32:33.000Z","size":2002,"stargazers_count":7,"open_issues_count":17,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T14:51:25.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://audio-to-text.ndolestudio.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NdoleStudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-24T12:36:53.000Z","updated_at":"2022-07-24T08:33:12.000Z","dependencies_parsed_at":"2023-01-25T08:00:18.904Z","dependency_job_id":null,"html_url":"https://github.com/NdoleStudio/speech-to-text-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NdoleStudio%2Fspeech-to-text-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NdoleStudio%2Fspeech-to-text-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NdoleStudio%2Fspeech-to-text-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NdoleStudio%2Fspeech-to-text-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NdoleStudio","download_url":"https://codeload.github.com/NdoleStudio/speech-to-text-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261908,"owners_count":21074225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-08T04:07:23.672Z","updated_at":"2026-03-11T00:42:27.638Z","avatar_url":"https://github.com/NdoleStudio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Logo](https://audio-to-text.ndolestudio.com/images/favicon.png) Speech to Text\n\n**Sample PHP/Laravel web app that transcribes an audio file into text using the IBM Watson Speech to Text service.**\n\n### Introduction\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/e553130d8d6ad20ee2fc/maintainability)](https://codeclimate.com/github/NdoleStudio/speech-to-text-php/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/e553130d8d6ad20ee2fc/test_coverage)](https://codeclimate.com/github/NdoleStudio/speech-to-text-php/test_coverage)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![Build Status](https://travis-ci.org/NdoleStudio/speech-to-text-php.svg?branch=master)](https://travis-ci.org/NdoleStudio/speech-to-text-php)\n\nThis service service uses IBM's [speech recognition capabilities](https://www.ibm.com/watson/services/speech-to-text) to convert speech in multiple languages into text. The transcription of incoming audio is continuously sent back to the client upon completion. The service is accessed via a REST HTTP interface.\n\nDemo URL: **[https://audio-to-text.ndolestudio.com](https://audio-to-text.ndolestudio.com/)**\n\n\n### Tech Stack\n\n- The Frontend of the comes with [tailwindcss](https://tailwindcss.com) and [Vue.js](https://vuejs.org/).\n- The backend is done with PHP using the [Laravel Framework](https://laravel.com/)\n- PHPUnit is used for both unit tests and integration tests. \n  \n  *It's advisable to run the tests using docker*\n  \n\n## Prerequisites\n\n1. Sign up for an [IBM Cloud account](https://console.bluemix.net/registration/).\n1. Create an instance of the Speech to Text service and get your credentials:\n    - Go to the [Speech to Text](https://console.bluemix.net/catalog/services/speech-to-text) page in the IBM Cloud Catalog.\n    - Log in to your IBM Cloud account.\n    - Click **Create**.\n    - Click **Show** to view the service credentials.\n    - Copy the `apikey` value, or copy the `username` and `password` values if your service instance doesn't provide an `apikey`.\n    - Copy the `url` value.\n1. Sign up for a [Pusher Aaccount](https://dashboard.pusher.com/accounts/sign_up)\n1. Create a new app on pusher and get your credentials:\n    - Log in to your Pusher account.\n    - Click **Create new app**.\n    - Set the name of your app and click on the **Create my app** button\n    - Click **App Keys** to view the app credentials.\n    - Copy the `app_id`, `key`, `secret` and `cluster` values.\n\n## Configuring the application\n\n1. In the application folder, copy the `.env.example` file and create a file called `.env`\n\n    ```\n    cp .env.example .env\n    ```\n\n2. Open the `.env` file and add the service credentials that you obtained in the previous step.\n\n    Example `.env` file that configures the `apikey` and `url` for a Speech to Text service instance:\n\n    ```\n    SPEECH_TO_TEXT_USERNAME=\n    SPEECH_TO_TEXT_PASSWORD=\n    SPEECH_TO_TEXT_URL=https://stream.watsonplatform.net/speech-to-text/api/v1/recognize\n    ```\n\n3. Open the `.env` file and add the service credentials that you obtained in the previous step.   \n   ```\n   PUSHER_APP_ID=\n   PUSHER_APP_KEY=\n   PUSHER_APP_SECRET=\n   PUSHER_APP_CLUSTER=\n   ```\n\n### Running Locally\n\nFollow the steps below to run this application locally\n\n1. Clone this git repository and `cd` into it\n\n    ```bash\n    git clone https://github.com/NdoleStudio/speech-to-text-php.git\n    \n    cd speech-to-text-php\n    ```\n\n2.  Run the docker container\n\n    ```bash\n    docker-compose up --build -d\n    ```\n\n3.  Open your browser and visit localhost: [http://0.0.0.0:8888](http://0.0.0.0:8888).\n\n### Running Tests\n\nTo run tests, setup the application using the setup process shown above and run `phpunit` inside the workspace container\n\n\n```bash\n$ docker exec -it project-workspace /bin/bash\n$ phpunit\n```\n\n## Built With\n\n* [Guzzle](http://www.dropwizard.io/1.0.2/docs/) - The extensible PHP HTTP client\n* [IBM Speech to Text](https://console.bluemix.net/catalog/services/speech-to-text) - IBM's Transcription service\n* [Pusher](https://pusher.com) - Powers the real time events\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags). \n\n## Authors\n\n* **[AchoArnold](https://github.com/AchoArnold)**\n\nSee also the list of [contributors](https://github.com/NdoleStudio/darksky-php/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndolestudio%2Fspeech-to-text-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndolestudio%2Fspeech-to-text-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndolestudio%2Fspeech-to-text-php/lists"}