PHPackages                             knowbox/bud-slide - 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. [Payment Processing](/categories/payments)
4. /
5. knowbox/bud-slide

ActiveLibrary[Payment Processing](/categories/payments)

knowbox/bud-slide
=================

a lib for output pptx file from online format slides

v1.0.6(6y ago)05MITPHP

Since Oct 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Knowbox-dev/bud-slide)[ Packagist](https://packagist.org/packages/knowbox/bud-slide)[ Docs](https://github.com/Knowbox-dev/bud-slide)[ RSS](/packages/knowbox-bud-slide/feed)WikiDiscussions master Synced 3d ago

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

在线PPT转换工具
=========

[](#在线ppt转换工具)

web2ppt
-------

[](#web2ppt)

pptx 类型 MIME TYPE 参考文档

[https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Basics\_of\_HTTP/MIME\_types/Complete\_list\_of\_MIME\_types](https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types)

```
// function webToPpt($data, $type = 'pptx', $tmpfilePath='/tmp/budpptconvert.pptx')

header("Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation");
$data = file_get_contents($webPptData);
$data = json_encode($data, true);
$convert = new PptConvert();
$pptx = $convert->webToPpt($data, 'pptx', '/tmp/budpptconvert.pptx');

$size = strlen($pptx);
$filename = 'download.pptx';

header("Content-length: $size");
header('Content-Disposition: attachment; filename="' . $filename . '"');

echo $pptx;
```

ppt2web
-------

[](#ppt2web)

```
// function pptToWeb($pptPath, $type = 'pptx', $tmpfilePath='/tmp/budpptconvert/')

header("Content-Type: application/json");
$data = file_get_contents($webPptData);
$convert = new PptConvert();
$json = $convert->pptToWeb('a.pptx', 'pptx', '/tmp/budpptconvert/');
echo $json;
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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 ~7 days

Total

5

Last Release

2361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff25f8f1ab71fb6f5f8ff1be6814227641f27de8c270eaa42160e669308c3407?d=identicon)[php-cpm](/maintainers/php-cpm)

---

Tags

paymentgatewaypaymerchantomnipaypurchasealipay

### Embed Badge

![Health badge](/badges/knowbox-bud-slide/health.svg)

```
[![Health](https://phpackages.com/badges/knowbox-bud-slide/health.svg)](https://phpackages.com/packages/knowbox-bud-slide)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[lokielse/omnipay-global-alipay

Alipay global gateway for Omnipay payment processing library

3048.9k](/packages/lokielse-omnipay-global-alipay)

PHPackages © 2026

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