定制 ilovepdf/iloveimg-php 二次开发

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

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

ilovepdf/iloveimg-php

最新稳定版本:v1.1.16

Composer 安装命令:

composer require ilovepdf/iloveimg-php

包简介

iLoveIMG Php Api

README 文档

README

Build Status Latest Stable Version Total Downloads License

A library in php for iLoveIMG Api

You can sign up for a iLoveIMG account at https://developer.iloveimg.com

Develop and automate PDF processing tasks like Compress PDF, Merge PDF, Split PDF, convert Office to PDF, PDF to JPG, Images to PDF, add Page Numbers, Rotate PDF, Unlock PDF, stamp a Watermark and Repair PDF. Each one with several settings to get your desired results.

Requirements

PHP 7.3 and later.

Install

Using composer

You can install the library via Composer. Run the following command:

composer require ilovepdf/iloveimg-php

To use the library, use Composer's autoload:

require_once('vendor/autoload.php');

Manual Installation

If you do not wish to use Composer, you can download the latest release. Then, to use the library, include the init.php file.

require_once('/path/to/iloveimg-php/init.php');

Getting Started

Simple usage looks like:

$iloveimg = new Iloveimg('project_public_id','project_secret_key');
$myTask = $iloveimg->newTask('compress');
$file1 = $myTask->addFile('file1.jpg');
$myTask->execute();
$myTask->download();

Samples

See samples folder.

Documentation

Please see https://developer.iloveimg.com/docs for up-to-date documentation.

统计信息

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

GitHub 信息

  • Stars: 30
  • Watchers: 1
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-29