alhoqbani/laravel-pdf 问题修复 & 功能扩展

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

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

alhoqbani/laravel-pdf

Composer 安装命令:

composer require alhoqbani/laravel-pdf

包简介

Laravel wrapper for mPDF 7.0

README 文档

README

Latest Version on Packagist Build Status SensioLabsInsight Quality Score Total Downloads

Laravel wrapper for mPDF 7.0

UNDER DEVELOPMENT. Do NOT use for production

Installation

You can install the package via composer:

composer require 'alhoqbani/laravel-pdf:@dev'

Usage

Start by publishing the config file:

php artisan vendor:publish --provider "Alhoqbani\PDF\PDFServiceProvider"

Edit the config file. You can add any extra configuration to be passed to the Mpdf constructor.

To us the Mpdf library directly, you can get a pre-configured instance of Mpdf

<?php

        $mpdf = \PDF::getMpdf();

        $mpdf->writeHTML('<h1>Hello World</h1>');

        return $mpdf->output();

// TODO

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email h.alhoqbani@gmail.com instead of using the issue tracker.

Credits

Built using Spatie.be skeleton

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固