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

2228.7k↑166.7%12[4 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 1mo ago

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 59% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity38

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

[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[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.2k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)[setasign/tfpdf

This class is a modified version of FPDF that adds UTF-8 support. The latest version is based on FPDF 1.85.

426.1M30](/packages/setasign-tfpdf)[aspera/xlsx-reader

Spreadsheet reader library for XLSX files

52742.2k5](/packages/aspera-xlsx-reader)

PHPackages © 2026

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