PHPackages                             leocecilia/video-parse-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. leocecilia/video-parse-tools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

leocecilia/video-parse-tools
============================

v1.0.1(2y ago)03MITPHPPHP &gt;=7.0

Since May 14Pushed 2y agoCompare

[ Source](https://github.com/LeoCecilia/video-parse-tools)[ Packagist](https://packagist.org/packages/leocecilia/video-parse-tools)[ RSS](/packages/leocecilia-video-parse-tools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Smalls
======

[](#smalls)

[![Latest Stable Version](https://camo.githubusercontent.com/23ee8a183d68a2930993e117224ac97bbc0bf784dff24243424c69a6d45ec22f/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6c732f766964656f2d746f6f6c732f762f737461626c65)](https://packagist.org/packages/smalls/video-tools)[![Total Downloads](https://camo.githubusercontent.com/71660d074a37efe821a0836c8fb4a627618aad73bee994cf0254aab3ed5db4d2/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6c732f766964656f2d746f6f6c732f646f776e6c6f616473)](https://packagist.org/packages/smalls/video-tools)[![Latest Unstable Version](https://camo.githubusercontent.com/c31f84a8e913e91d2ec477d4eb27c5565f440ea31d18cacbc9b71ef804cc1435/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6c732f766964656f2d746f6f6c732f762f756e737461626c65)](https://packagist.org/packages/smalls/video-tools)[![License](https://camo.githubusercontent.com/599808b4be64b9f4ce95b32e0f6312d8c7f0ca5021cde56b8dcdefa832b7b012/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6c732f766964656f2d746f6f6c732f6c6963656e7365)](https://packagist.org/packages/smalls/video-tools)

该项目不再更新，有问题可以加群：1055772768
==========================

[](#该项目不再更新有问题可以加群1055772768)

短视频去水印
------

[](#短视频去水印)

集成了：抖音、火山、头条、快手、梨视频、美拍、陌陌、皮皮搞笑、皮皮虾、全民搞笑、刷宝、微视、小咖秀、最右、B站、微博、秒拍、淘宝等等。其他如果需要对接的可以issues

- 技术交流群：1055772768 - 进群密码：smalls
- 我们已经对接了21个平台的视频提取（部分视频是有水印的，没办法做到无水印）

===============

- 2020-10-25：更新梨视频提取不了，视频有问题可以发邮箱联系我
- 2020-08-16：添加淘宝提取视频
- 2020-08-16：近期版本更新：去除快手APP去水印，引入旧版的H5，如果想要高性能可以自己对接代理然后进行提取链接，其他继续稳定，不懂的话看一下我的博客有教程
- 2020-07-17：更新快速提取无水印视频、添加腾讯视频短视频提取视频
- 2020-06-24：更新抖音提取视频
- 2020-06-14：添加秒拍提取视频，修复美拍提取视频失败
- 2020-06-13：添加微博提取视频（远古视频有水印）
- 2020-06-10：新加代理功能，有点不稳定，有什么好的建议可以issues给我
- 2020-06-10：添加url-validator配置类
- 2020-06-09：全部优化了一下更加面向对象，新加B站解析视频
- 2020-04-29：第一个版本

安装
--

[](#安装)

安装方法一：（需要下载composer.phar到根目录，设置PHP为全局变量）

```
php composerphar require smalls/video-tools

```

安装方法二：

```
composer require smalls/video-tools

```

如果需要更新扩展包使用

```
composer update smalls/video-tools

```

---

### 日志与发布

[](#日志与发布)

[原生PHP演示案例，下载后拉进环境](https://github.com/smalls0098/origin-php-watermark-api)

---

> 运行环境要求PHP70+

VideoManager使用文档：(可以参考tests/testphp)
====================================

[](#videomanager使用文档可以参考teststestphp)

```
抖音：VideoManager::DouYin()->start($url);
快手：VideoManager::KuaiShou()->start($url);
火山：VideoManager::HuoShan()->start($url);
头条：VideoManager::TouTiao()->start($url);
快手：VideoManager::XiGua()->start($url);
快手：VideoManager::WeiShi()->start($url);
皮皮虾：VideoManager::PiPiXia()->start($url);
最右：VideoManager::ZuiYou()->start($url);
美拍：VideoManager::MeiPai()->start($url);
梨视频：VideoManager::LiVideo()->start($url);
全民搞笑：VideoManager::QuanMingGaoXiao()->start($url);
皮皮搞笑：VideoManager::PiPiGaoXiao()->start($url);
陌陌：VideoManager::MoMo()->start($url);
刷宝：VideoManager::ShuaBao()->start($url);
小咖秀：VideoManager::XiaoKaXiu()->start($url);
B站：VideoManager::Bili()->start($url);
微博：VideoManager::WeiBo()->start($url);
微博短视频：VideoManager::WeiBo()->newVideoStart($url);
秒拍：VideoManager::MiaoPai()->start($url);
B站指定参数：VideoManager::Bili()->setUrl($url)->setQuality(BiliQualityType::LEVEL_2)->execution();
腾讯视频短视频：VideoManager::QQVideo()->start($url);
淘宝：VideoManager::TaoBao()->start($url);

```

自定义URL配置文件：url-validator
------------------------

[](#自定义url配置文件url-validator)

```
 例如抖音：$res = VideoManager::KuaiShou([
           'proxy_whitelist' => ['kuaishou'],//白名单，需要提交类名，全部小写
           'proxy' => '$ip:$port',
           'url_validator' => [
                 这边参考config/url-validator.php
           ]
       ])->start($url);
 可以参考config/url-validator.php的格式用参数传递，如果不指定则使用默认的
 不会怎么编写全部使用默认也是可以的

```

返回成功：array
----------

[](#返回成功array)

```
 array(8) {
    ["md5"]=>
    string(32) "fb0f49b1158923a972d9eed40f97965e"
    ["message"]=>
    string(29) "https://v.kuaishou.com/xxxx"
    ["user_name"]=>
    string(15) "xxxx"
    ["user_head_img"]=>
    string(103) "https://tx2.a.yximgs.com/uhead/AB/2020/04/20/14/xxxxx.jpg"
    ["desc"]=>
    string(46) "小子，xxxxx"
    ["img_url"]=>
    string(139) "https://js2.a.yximgs.com/xxxxx.jpg"
    ["video_url"]=>
    string(144) "https://jsmov2.a.yximgs.com/xxxxx.mp4"
    ["type"]=>
    string(5) "video"
 }

```

返回失败：exception
--------------

[](#返回失败exception)

```
    需要进行try-catch
    namespace \Smalls\VideoTools\Exception;
    try {
        $res = VideoManager::KuaiShou()->start("https://v.kuaishou.com/xxxx");
    } catch (ErrorVideoException $e) {
        $e->getTraceAsString();
    }

```

---

结束：
===

[](#结束)

注：仅供学习,切勿用于其他用途，由使用人自行承担因此引发的一切法律责任，作者不承担法律责任。
**喜欢的话，给个star呗**
**喜欢的话，给个star呗**
**喜欢的话，给个star呗**

自己可以参考tests/test.php（需要在主页面里面调式：小白一枚）
都无法使用再提issue

赞助：
===

[](#赞助)

感谢JetBrains的支持，推荐大家使用IDE：[PHPSOTRM](https://www.jetbrains.com/?from=video-tools)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1091d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e08f497f434ecc74e34f2cecc415554eeccd8c5523b3cf74cea9710b63ce1062?d=identicon)[LeoCecilia](/maintainers/LeoCecilia)

---

Top Contributors

[![smalls0098](https://avatars.githubusercontent.com/u/46087049?v=4)](https://github.com/smalls0098 "smalls0098 (26 commits)")[![LeoCecilia](https://avatars.githubusercontent.com/u/20895206?v=4)](https://github.com/LeoCecilia "LeoCecilia (4 commits)")[![caojianfei](https://avatars.githubusercontent.com/u/17742555?v=4)](https://github.com/caojianfei "caojianfei (1 commits)")[![midsmr](https://avatars.githubusercontent.com/u/61633355?v=4)](https://github.com/midsmr "midsmr (1 commits)")[![shilcheng](https://avatars.githubusercontent.com/u/5350546?v=4)](https://github.com/shilcheng "shilcheng (1 commits)")

---

Tags

video-toolsLeoCecilia

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leocecilia-video-parse-tools/health.svg)

```
[![Health](https://phpackages.com/badges/leocecilia-video-parse-tools/health.svg)](https://phpackages.com/packages/leocecilia-video-parse-tools)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[smalls/video-tools

短视频的拓展包，集成各大短视频的去水印功能

6868.8k](/packages/smalls-video-tools)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
