adiuvaris/reportlib 问题修复 & 功能扩展

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

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

adiuvaris/reportlib

最新稳定版本:1.0.3

Composer 安装命令:

composer require adiuvaris/reportlib

包简介

A library to create dynamic pdf reports

README 文档

README

PHP Report Library

Description

PHP library for generating dynamic PDF reports using the TCPDF library to create the PDF documents. The library works with nested rectangle regions on the paper where the sizes can be defined in millimeters or in percent of the surrounding rectangle or the library calculates them by the content.

Main Features:

  • all standard page formats (from TCPDF), custom page margins;
  • different page formats in one report;
  • management of text styles;
  • images, 2D barcodes (e.g. QR);
  • page header and footer management;
  • automatic page break, line break and text alignments;
  • automatic page numbering;
  • support for tables with a lot of features (e.g. automatic repeat the table header row after page break)
  • nested structure of rectangles to create the report structure

Install

Via Composer

$ composer require adiuvaris/ReportLib

Usage

<?php
require __DIR__ . "/vendor/autoload.php";
use Adi\ReportLib as ReportLib;
$rp = new ReportLib\Report();
$rp->getBody()->AddText("ReportLib test.",ReportLib\TextStyles::getTextStyle(ReportLib\TextStyles::NORMAL));
$rp->output(__DIR__ . "/test.pdf");

License

GNU LESSER GENERAL PUBLIC LICENSE. Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-only
  • 更新时间: 2022-12-29