tuckdesign/add-watermark
最新稳定版本:0.1.2
Composer 安装命令:
composer require tuckdesign/add-watermark
包简介
Adds watermark to pdf or image
README 文档
README
AddWatermark is a library written in pure PHP that provides class that allows you to add watermark text to pdf or image files.
Requirements
AddWatermark requires the following:
- PHP 8.1+
- GD extension
Installation
AddWatermark is installed via Composer. To add a dependency to AddWatermark in your project, either
Run the following to use the latest stable version
composer require tuckdesign/add-watermark
or if you want the latest unreleased version
composer require tuckdesign/add-watermark
Getting started
The following is a basic usage example of the AddWatermark library.
<?php require_once 'vendor/autoload.php'; $addWatermark = new \tuckdesign\AddWatermark('myfile.pdf', 'CONFIDENTIAL', 100, 100, 40, 45); $newFile = $addWatermark->getOutputFile();
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-28