PHPackages                             vatttan/apdf - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. vatttan/apdf

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

vatttan/apdf
============

Make export as a pdf in Laravel with supporting for utf charcters like farsi letters

127792[1 issues](https://github.com/vatttanweb/APdf/issues)PHP

Since May 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/vatttanweb/APdf)[ Packagist](https://packagist.org/packages/vatttan/apdf)[ RSS](/packages/vatttan-apdf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

APdf
====

[](#apdf)

Laravel Package for export page as PDF with support of UTF-8 like farsi character.

This package develope and simplify TCPDF(php pure library) for Laravel.

Usage:
------

[](#usage)

1.Run this comman:

```
composer require vatttan/apdf

```

Now its available in every where you want like Views,Controllers,.... For example, in view you can use:

```
use Illuminate\Support\Facades\Route;
use Vatttan\Apdf\Apdf;
Route::get('/', function () {
   $apdf = new Apdf();
   $apdf->print('وطن ، یک شکوه پابرجا...');
});

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/afdcad3cc53db4d3d7e342d4bb9fe20345767d31e9b3b244cc0b4f753d7165b9?d=identicon)[Akbar Dizaji](/maintainers/Akbar%20Dizaji)

---

Top Contributors

[![AkbarDizaji](https://avatars.githubusercontent.com/u/72616525?v=4)](https://github.com/AkbarDizaji "AkbarDizaji (30 commits)")

---

Tags

composerlaravellaravel-packagepdf-generationphp

### Embed Badge

![Health badge](/badges/vatttan-apdf/health.svg)

```
[![Health](https://phpackages.com/badges/vatttan-apdf/health.svg)](https://phpackages.com/packages/vatttan-apdf)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
