Download the PHP package yebto/youtube-api without Composer
On this page you can find all versions of the php package yebto/youtube-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package youtube-api
Youtube API Laravel SDK
Official Laravel SDK for the Youtube API by NETOX Ltd. – designed to make YouTube data retrieval and content generation seamless from within Laravel applications.
Table of Contents
- Installation
- Usage
- Available Methods
- Parameters Reference
- Configuration
- Features
- Free Tier Access
- Troubleshooting
- Support
- License
Installation
Install the package using Composer:
Publish the configuration file:
Add your API key to your .env file:
Usage
Import the facade and start making API calls:
Examples
1. Channel Statistics
2. Generate Video Title
3. Video Engagement Rate
4. Full-Text Video Search
5. Trending Gaming Videos in Germany
Available Methods
YoutubeAPI::channel($action, $params = [])– API DocsYoutubeAPI::video($action, $params = [])– API DocsYoutubeAPI::generate($action, $params = [])– API DocsYoutubeAPI::search($action, $params = [])– API DocsYoutubeAPI::trending($params = [])– API Docs
Parameters Reference
| Helper | Required | Optional |
|---|---|---|
channel |
channel, action |
order, limit, after, before |
video |
video, action |
limit, order, repliesOn, country, categoryId |
generate |
topic/channel/video, action |
keywords, language, mood, tone, emojis_mode, hashtags_mode, person |
search |
q, action |
limit, sort, duration, published_after, published_before |
trending |
– | country, category, limit |
💡 All methods accept any additional parameters supported by the API.
Configuration
The SDK uses a single environment variable:
You may customize other configuration settings via the config/youtubeapi.php file after publishing.
Features
- Simple, expressive API
- Fully integrated with Laravel
-
Supports powerful YouTube features like:
- Channel & video analytics
- Full-text search with filters
- Title and metadata generation
- Engagement rate calculations
- Trending content discovery
Free Tier Access
🎁 You can get 1,000+ free API requests by registering on yeb.to using your Google account.
Steps:
- Visit https://yeb.to
- Click Login with Google
- Retrieve your API key and add it to your
.envasYEB_KEY_ID
No credit card required!
Troubleshooting
If you encounter issues:
- Ensure your API key is correct and active
- Double-check that the config file is published
- Validate parameters against the API reference
- Check for typos in method names or required fields
Support
- 📘 API Documentation: https://docs.yeb.to
- 📧 Email: [email protected]
- 🐛 Issues: GitHub Issues
License
© NETOX Ltd. Licensed under a proprietary or custom license unless stated otherwise in the repository.
💬 Have an idea, feature request, or want to suggest a new YouTube-related API? Reach out to us at [email protected] — we’d love to hear from you!