Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 450 Bytes

File metadata and controls

22 lines (15 loc) · 450 Bytes

Basic PDF Example

This example demonstrates the basic features of TinyPDF-PHP.

Run

php basic.php

Features Demonstrated

  • Text rendering with custom colors
  • Text alignment (left, center, right)
  • Drawing rectangles with fill colors
  • Drawing lines with different widths and colors
  • Page layout and positioning
  • Footer with page numbers

Output

Creates a basic demonstration PDF saved as output.pdf in this directory.