承接 adibenc/fpdfb 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

adibenc/fpdfb

最新稳定版本:1.87

Composer 安装命令:

composer require adibenc/fpdfb

包简介

FPDF Composer Wrapper

README 文档

README

A composer wrapper around the great php FPDF class. All credit to them.

FPDF Website

Currently uses FPDF 1.86.

Installation

Add to your "composer.json" file under the "require" section:

"fpdf/fpdf": "^1.86"

Update composer

php composer.phar update

Usage

In your php file that you want to use the class add a use statement.

use Fpdf\Fpdf;

Then use as per the FPDF documentation.

$pdf = new Fpdf();

Alternatively you can extend as a typical php class.

class CustomPdf extends Fpdf
{
    public function __construct(
        $orientation = 'P',
        $unit = 'mm',
        $size = 'letter'
    ) {
        parent::__construct( $orientation, $unit, $size );
        // ...
    }
}

License FPDF

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software to use, copy, modify, distribute, sublicense, and/or sell
copies of the software, and to permit persons to whom the software is furnished
to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-30