Download the PHP package leapfu/cloud-printer without Composer

On this page you can find all versions of the php package leapfu/cloud-printer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cloud-printer

Cloud Printer

Cloud Printer 是一款高扩展性、易集成的 PHP 云小票打印 SDK,统一封装了飞鹅云、芯烨云、易联云、快递 100、映美云、佳博云、中午云、优声云等主流云打印服务,支持多驱动切换、主流框架集成、灵活配置和完善的异常处理。


主要特性


快速上手

1. 安装依赖

2. 初始化 SDK

3. 打印文本(所有驱动统一 print 方法,参数为数组)

所有驱动都实现 print 方法,参数为数组(如 ['content' => '内容', 'sn' => 'SN', 'copies' => 1]),返回统一格式。其他高级功能请查阅对应驱动扩展方法文档。


框架集成用法

Laravel 集成

  1. 自动注册(支持 Laravel Package Discovery,无需手动配置)
  2. 发布配置文件(可选)

  3. 门面调用

  4. 容器调用

ThinkPHP 集成

  1. config/cloudprint.php 配置参数。
  2. 使用:

如需服务注册模板,可参考 src/ThinkPHP/provider.php


安全性建议


贡献与支持


获取帮助与联系方式

如有商务合作、定制开发、技术支持等需求,欢迎通过以上方式联系我们。



All versions of cloud-printer with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
php Version >=8.0
guzzlehttp/guzzle Version ^6.0 | ^7.0
psr/log Version ^1.0 | ^2.0 | ^3.0
psr/simple-cache Version ^1.0 | ^2.0 | ^3.0
psr/cache Version ^1.0 | ^2.0 | ^3.0
monolog/monolog Version ^2.8.0 | ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package leapfu/cloud-printer contains the following files

Loading the files please wait ...