定制 rawilk/laravel-printing 二次开发

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

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

rawilk/laravel-printing

最新稳定版本:v4.1.0

Composer 安装命令:

composer require rawilk/laravel-printing

包简介

Direct printing for Laravel apps

README 文档

README

Latest Version on Packagist Tests Total Downloads PHP from Packagist License

social image

Printing for Laravel allows your application to directly send PDF documents or raw text directly from a remote server to a printer on your local network. Receipts can also be printed by first generating the raw text via the Rawilk\Printing\Receipts\ReceiptPrinter class, and then sending the text as a raw print job via the Printing facade.

$printJob = Printing::newPrintTask()
    ->printer($printerId)
    ->file('path_to_file.pdf')
    ->send();

$printJob->id(); // the id number returned from the print server

Supported Print Drivers:

Documentation:

For documentation, please visit: https://randallwilk.dev/docs/laravel-printing

Installation

You can install the package via composer:

composer require rawilk/laravel-printing

You can publish the config file with:

php artisan vendor:publish --tag="printing-config"

The contents of the default configuration file can be found here: https://github.com/rawilk/laravel-printing/blob/main/config/printing.php

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email randall@randallwilk.dev instead of using the issue tracker.

Credits

Inspiration for the PrintNode API wrapper comes from:

Inspiration for certain aspects of the API implementations comes from:

Disclaimer

This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.

License

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

统计信息

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

GitHub 信息

  • Stars: 545
  • Watchers: 10
  • Forks: 85
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-27