Download the PHP package pkg6/cloud-print without Composer

On this page you can find all versions of the php package pkg6/cloud-print. 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-print

云小票机SDK-cloud-print

非官方云小票机SDK,支持飞鹅云,芯烨云,易联云,快递100,映美云,中午云,佳博云,优声云,365智能云打印等

请求日志开启

\Pkg6\cloudPrint\Kernel\BaseClient::$request_log=true;

自定义缓存

基于https://packagist.org/packages/psr/simple-cache#1.0

$printer = \Pkg6\cloudPrint\Factory::Feieyun([
    'user' => '',
    'ukey' => '',
    'cache' => [
        //必须定义
        "class" => \Pkg6\Cache\cache\driver\File::class,
        //其他选项
        'expire'        => 0,
        'cache_subdir'  => true,
        'prefix'        => '',
        'path'          => './cache/',
        'hash_type'     => 'md5',
        'data_compress' => false,
        'tag_prefix'    => 'tag:',
        'serialize'     => [],
    ],
]);

案例

基于365智能云打印的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Printcenter([
    'key' => '',
])->printer;

基于中午云的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Zhongwuyun([
    'appid'     => '******',
    'appsecret' => '******',
])->printer;

基于 优声云 的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Ushengyun([
    'appId'     => '10001',
    'appSecret' => '**********',
])->printer;

基于佳博云的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Poscom([
    'memberCode' => '',
    'apiKey'     => '',
])->printer;

基于快递100的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Kuaidi100([
    'key' => '',
    'secret' => '',
])->printer;

基于易联云的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Yilianyun([
    'client_id'     => '',
    'client_secret' => '',
])->printer;

基于映美云的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Jolimark([
    'app_id'  => '',
    'app_key' => '',
])->printer;

基于 芯烨云 的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Xpyun([
    'user'    => '',
    'userKey' => '',
])->printer;

基于 飞鹅云 的 PHP 接口组件

$printer = \Pkg6\cloudPrint\Factory::Feieyun([
    'user' => '',
    'ukey' => '',
])->printer;

支持厂商

加入我们

如果你认可我们的开源项目,有兴趣为 cloud-print 的发展做贡献,竭诚欢迎加入我们一起开发完善。无论是 报告错误issues 或是 Pull Request 开发,那怕是修改一个错别字也是对我们莫大的帮助。

许可协议

MIT


All versions of cloud-print with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
ext-zlib Version *
psr/cache Version ~1.0|^2.0
psr/log Version ^1.0.1 || ^2.0
psr/simple-cache Version ^1.0|^2.0
guzzlehttp/guzzle Version ^6|^7
pimple/pimple Version ^3.0
pkg6/cache Version ^0.1
pkg6/log Version ^0.1
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 pkg6/cloud-print contains the following files

Loading the files please wait ....