热搜:NVER node 开发 php

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

2024-07-27 18:15:02
一个强大的PDF读写PHP类库:BaconPdf

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