kolpikov/laravel-youtube 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kolpikov/laravel-youtube

Composer 安装命令:

composer require kolpikov/laravel-youtube

包简介

Basic Youtube API support for the Laravel framework

README 文档

README

Build Status Total Downloads Latest Stable Version License

Basic Youtube API v.3 support for the Laravel framework

Requirements

  • PHP 7.1 or higher;
  • PHP extensions: JSON, CURL;
  • Laravel 5.7 or higher;
  • Youtube API key from Google Console;

1. Install Laravel Youtube

Run this at the command line:

composer require kolpikov/laravel-youtube

2. Copy config file into your application

 php artisan vendor:publish --tag=laravel-youtube-config

3. Set your Youtube API key

In your .env file add new line:

YOUTUBE_API_KEY={{YOUR_KEY_HERE}}

Where {{YOUR_KEY_HERE}} is your key from Youtube API.

Usage example:

The code below outputs contentData about Video:

$videoID = "{{ANY_VIDEO_ID}}";
$data = \Kolpikov\Youtube\Facades\Youtube::getContentDetails($videoID);
dump($data);

No Technical Support!

Sorry, I don't provide any kind of technical support in any cases.

License

This library is open-sourced software licensed under the MIT License.

Copyright © 2018 Kolpikov Andrey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

统计信息

  • 总下载量: 42
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固