定制 nandakyawwinn/pdf2webview 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

nandakyawwinn/pdf2webview

最新稳定版本:v1.0.0

Composer 安装命令:

composer require nandakyawwinn/pdf2webview

包简介

A package to upload and convert PDF to HTML with style.

README 文档

README

Overview

The pdf2webview Laravel package provides functionality to upload PDF files, convert them to HTML, and display the HTML content with styling.

Requirements

  • PHP >= 7.2
  • Laravel Framework >= 6.0
  • Tecnickcom TCPDF >= 6.3

Installation

  1. Install the package via Composer:

    composer require nandakyawwinn/pdf2webview
  2. Publish the package assets:

    php artisan vendor:publish --provider="Nandakyawwinn\Pdf2webview\Pdf2webviewServiceProvider"
  3. Configure the package settings in config/pdf2webview.php if necessary.

Usage

  1. Upload PDF Files:

    • Access the PDF upload form at http://your-app-url/pdf/upload.
    • Select a PDF file and click "Upload PDF".
  2. Convert PDF to HTML:

    • Upon upload, the package automatically converts the PDF to HTML using TCPDF.
  3. Display HTML Content:

    • The HTML content is displayed with styles in the pdf2webview::pdf Blade view.

Configuration

You can customize the package behavior by modifying the settings in config/pdf2webview.php.

Support and Issues

For any issues or feature requests, please open an issue on GitHub.

License

This package is open-source software licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-06-24