PHPackages                             pdfanonymous/phpanonymous - 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. pdfanonymous/phpanonymous

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

pdfanonymous/phpanonymous
=========================

PDF Package Arabic based on tcpdf library support for laravel 5 version 1.0

2229.2k↑13.3%12[7 issues](https://github.com/arabnewscms/PDFanony/issues)[1 PRs](https://github.com/arabnewscms/PDFanony/pulls)PHP

Since Dec 27Pushed 2y ago2 watchersCompare

[ Source](https://github.com/arabnewscms/PDFanony)[ Packagist](https://packagist.org/packages/pdfanonymous/phpanonymous)[ RSS](/packages/pdfanonymous-phpanonymous/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

PDF Anony Package
=================

[](#pdf-anony-package)

A PDF Package Support Arabic Based On TCPDF Developed By PhpAnonymous ( phpanonymous.com ) Laravel Version 5 and Above ##Install with Composer

```
composer require pdfanonymous/phpanonymous:dev-master
```

Provider Class
==============

[](#provider-class)

put on your `config/app.php` in provider array this class

```
 PDFAnony\TCPDF\AnonyServiceProvider::class,

```

\#Aliases add this on aliases array

```
'PDF' =>  PDFAnony\TCPDF\Facades\AnonyPDF::class,
```

\#publish with composer run this command `php artisan vendor:publish `

\#usage

you can use The PDF Class anywhere you want it , in Controller or Blade File

Just Call Class PDF::HTML($yourArraySettings);

Like That

```
$html = view('youblade_path',['dataloop'=>$yourdataloop])->render(); // file render
// or pure html
$html = 'مرحبا بكم فى العالم ';
 $pdfarr = [
		'title'=>'اهلا بكم ',
		'data'=>$html, // render file blade with content html
		'header'=>['show'=>false], // header content
		'footer'=>['show'=>false], // Footer content
		'font'=>'aealarabiya', //  dejavusans, aefurat ,aealarabiya ,times
		'font-size'=>12, // font-size
		'text'=>'', //Write
		'rtl'=>true, //true or false
		'creator'=>'phpanonymous', // creator file - you can remove this key
		'keywords'=>'phpanonymous keywords', // keywords file - you can remove this key
		'subject'=>'phpanonymous subject', // subject file - you can remove this key
		'filename'=>'phpanonymous.pdf', // filename example - invoice.pdf
		'display'=>'print', // stream , download , print
	];

   	PDF::HTML($pdfarr);
```

you can set state display if want stream or download or auto print file pdf and you can set file name and other setting

1 - rtl can be disable it or enable

2 - can render file blade with data key or put html code i'ts easy

3 - you have 4 fonts type dejavusans, aefurat ,aealarabiya ,times | default is aealarabiya just change if you want :)

4 - you can set font size the default value is 12

5 - text key you can remove it or null any way

6 - you can set information file creator or keywords or subject

7 - finally you can set your title file :) i'ts more setting coming soon

this package based on tcpdf library ()

this package supported arabic character 100% and supported rtl 100%

Sorry Can't Support A Twitter Bootstrap Right now But i well do it soon

if you have any questions about this package join us on group facebook ()

Enjoy :)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.9% 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/4e69eb26372ee1008cb285858b579b1162bde21b3c6af6bc5e73505eb8ae89d5?d=identicon)[PhpAnonymous](/maintainers/PhpAnonymous)

---

Top Contributors

[![arabnewscms](https://avatars.githubusercontent.com/u/17859436?v=4)](https://github.com/arabnewscms "arabnewscms (10 commits)")[![amrfayad](https://avatars.githubusercontent.com/u/17238415?v=4)](https://github.com/amrfayad "amrfayad (1 commits)")

### Embed Badge

![Health badge](/badges/pdfanonymous-phpanonymous/health.svg)

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

###  Alternatives

[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.9k](/packages/tarfin-labs-easy-pdf)

PHPackages © 2026

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