Download the PHP package sahusoftcom/youtube-livestream-api without Composer
On this page you can find all versions of the php package sahusoftcom/youtube-livestream-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sahusoftcom/youtube-livestream-api
More information about sahusoftcom/youtube-livestream-api
Files in sahusoftcom/youtube-livestream-api
Download sahusoftcom/youtube-livestream-api
More information about sahusoftcom/youtube-livestream-api
Files in sahusoftcom/youtube-livestream-api
Vendor sahusoftcom
Package youtube-livestream-api
Short Description PHP (Laravel) Package for Google / YouTube API of Video Live Streaming with Google Auth
License MIT
Homepage https://github.com/sahusoftcom/youtube-livestream-api
Package youtube-livestream-api
Short Description PHP (Laravel) Package for Google / YouTube API of Video Live Streaming with Google Auth
License MIT
Homepage https://github.com/sahusoftcom/youtube-livestream-api
Please rate this library. Is it a good library?
Informations about the package youtube-livestream-api
sahusoftcom/youtube-livestream-api:
PHP (Laravel) Package for Google / YouTube API of Video Live Streaming with Google Auth
Installation :
Add Service provider to config/app.php provider's array:
Execute the following command to get the configurations:
Steps to create your google oauth credentials:
- Goto
https://console.developers.google.com
- Login with your credentials & then create a new project.
- Enable the following features while creating key
- Youtube Data API
- Youtube Analytics API
- Youtube Reporting API
- Then create
API key
from credentials tab. - Then in OAuth Consent Screen enter the
product name
(your site name). - create credentials > select OAuth Client ID. (here you will get client_id and client_secret)
- Then in the Authorized Javascript Origins section add
you site url
. - In the Authorized Redirect URLs section add
add a url which you want the auth code to return
(redirect_url) - You will get values (to be exact - client_id, client_secret, api_key, redirect_url)
- Now add these values - client_id, client_secret, api_key and redirect_url in the env file.
Setting Up the App:
Authentication and Authorization:
- Now you will get \$authUrl, upon redirecting to the same will ask permissions and authorization access to the required channel.
- Upon submitting the requirements, you'll get a \$authcode on the loginCallback URL (redirect url added as in google console) & you might have specified in .env file.
- Use this authcode to generate auth token as follows:
Creating a Youtube Event:
Updating a Youtube Event:
Deleting a Youtube Event:
Starting a Youtube Event Stream:
Stopping a Youtube Event Stream:
All versions of youtube-livestream-api with dependencies
PHP Build Version
Package Version
The package sahusoftcom/youtube-livestream-api contains the following files
Loading the files please wait ....