Skip to content

tuckdesign/add-watermark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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();

About

PHP add watermark to pdf or image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages