Home >Backend Development >PHP Tutorial >一个强大的PDF读写PHP类库:BaconPdf

一个强大的PDF读写PHP类库:BaconPdf

WBOY
WBOYOriginal
2016-06-23 13:22:051363browse

BaconPdf是一个用于PHP的新的PDF库,拥有一个简洁的接口。它自带包括读写兼容PDF1.7以上的版本 。

<?php/** * BaconPdf * * @link      http://github.com/Bacon/BaconPdf For the canonical source repository * @copyright 2015 Ben 'DASPRiD' Scholzen * @license   http://opensource.org/licenses/BSD-2-Clause Simplified BSD License */if  (    !($loader = @include __DIR__ . '/../vendor/autoload.php')    && !($loader = @include __DIR__ . '/../../../autoload.php')) {    throw new RuntimeException('vendor/autoload.php could not be found. Did you run `php composer.phar install`?');}$loader->addPsr4('Bacon\PdfTest\\', __DIR__);

项目主页:http://www.open-open.com/lib/view/home/1448631065235

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn