appoly/document-generator 问题修复 & 功能扩展

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

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

appoly/document-generator

最新稳定版本:1.2.3

Composer 安装命令:

composer require appoly/document-generator

包简介

A package to generate pdfs and pngs from urls or html sent to a lambda function

README 文档

README

This package will generate PDFs and PNGs from websites.

Installation

composer require appoly/document-generator

Usage

use  Appoly\DocumentGenerator\Facades\DocumentGenerator;

$png  =  DocumentGenerator::url('https://www.appoly.co.uk')
		->png()
		->get();

Options

Option Description
->pdf() sets the file to .pdf
->png() sets the file to .png
->url($url) sets the url that will be rendered
->html($html) sets the html that will be rendered
->height($h) sets the files height
->width($w) sets the files width
->showBackground($i = true) when rendering a PDF, Set to true to print background graphics
->filename($name) sets the file name - defaults to random.filetype

API Key

A api key is required. This can be defined in your .env

DOCUMENT_GENERATOR_API_KEY

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固