PHPackages                             beyondplus/laravel-tcpdf - 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. beyondplus/laravel-tcpdf

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

beyondplus/laravel-tcpdf
========================

TCPDF Custom Font for Myanmar

5.4.6(9y ago)11571MITPHP

Since Jul 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/beyondplus/laravel-tcpdf)[ Packagist](https://packagist.org/packages/beyondplus/laravel-tcpdf)[ RSS](/packages/beyondplus-laravel-tcpdf/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (15)Used By (0)

laravel-tcpdf
=============

[](#laravel-tcpdf)

Custom Myanmar Font View PDF Generator

Requirement
===========

[](#requirement)

laravel 5.4

Configure
=========

[](#configure)

Find config/app.php in Project Folder

```
'providers' => [
    //...
Elibyy\TCPDF\ServiceProvider::class,
BeyondPlus\TCPDF\TcpdfServiceProvider::class,
]
//...

'aliases' => [
    //...
'MMTCPDF'     => BeyondPlus\TCPDF\Facades\MMTCPDF::class,
]

```

Usage
=====

[](#usage)

```
use MMTCPDF;

At function

$fontname = MMTCPDF::font('Zawgyi-One');
//$fontname = MMTCPDF::font('Myanmar3');
MMTCPDF::SetFont($fontname , 11);
MMTCPDF::SetTitle('Record Report');
MMTCPDF::AddPage('P','A4');
MMTCPDF::writeHtml("Myanmar Words");
MMTCPDF::Output('report.pdf', 'I');

```

Example
=======

[](#example)

```
$query = Database::get();
$fontname = MMTCPDF::font('Zawgyi-One');
MMTCPDF::SetFont($fontname , 11);
MMTCPDF::SetTitle('Record Report');
MMTCPDF::AddPage('P','A4');
MMTCPDF::writeHtml(view('pdf', array('records'=> $query)));
MMTCPDF::Output('report.pdf', 'I');

```

```
Margin
MMTCPDF::SetMargins(1, 1, 1);

Paper Size
MMTCPDF::AddPage ->
P = Portrait
L = Landscape

MMTCPDF::Output ->
F = localserver download
D = download
I = inline

$pagelayout = array('80', '210');
MMTCPDF::AddPage('P',$pagelayout);

// Background Image (width x height unit mm)
$img_file = public_path('upload/').'images.jpg';
MMTCPDF::setBgImage($img_file, 210, 148);

```

At the Blade Template
---------------------

[](#at-the-blade-template)

```
ျမန္မာစာ

```

Font Converter For Myanmar 3
----------------------------

[](#font-converter-for-myanmar-3)

```
php artisan vendor:publish

```

- see the App/Http/helper.php function
- integrate it at laravel autoload and use it

Refrence
--------

[](#refrence)

- [elibyy/tcpdf-laravel](https://packagist.org/packages/elibyy/tcpdf-laravel)
-

License
-------

[](#license)

The Beyond Plus Laravel TCPDF is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

Website
=======

[](#website)

[www.beyondplus.biz](http://www.beyondplus.biz)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity71

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~2 days

Total

14

Last Release

3337d ago

Major Versions

1.0.8 → 5.4.12017-05-01

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24950469?v=4)[Beyond Plus](/maintainers/beyondplus)[@beyondplus](https://github.com/beyondplus)

---

Top Contributors

[![BeyondPlusTrainingCentre](https://avatars.githubusercontent.com/u/19855797?v=4)](https://github.com/BeyondPlusTrainingCentre "BeyondPlusTrainingCentre (3 commits)")

---

Tags

pdfTCPDFmyanmar-fontBeyond Plus

### Embed Badge

![Health badge](/badges/beyondplus-laravel-tcpdf/health.svg)

```
[![Health](https://phpackages.com/badges/beyondplus-laravel-tcpdf/health.svg)](https://phpackages.com/packages/beyondplus-laravel-tcpdf)
```

###  Alternatives

[tecnickcom/tcpdf

Deprecated legacy PDF engine for PHP. For new projects use tecnickcom/tc-lib-pdf.

4.5k107.0M550](/packages/tecnickcom-tcpdf)[tecnickcom/tc-lib-pdf

PHP PDF Library

1.9k489.4k10](/packages/tecnickcom-tc-lib-pdf)[elibyy/tcpdf-laravel

tcpdf support for Laravel 6, 7, 8, 9, 10, 11

3542.9M7](/packages/elibyy-tcpdf-laravel)[propa/tcpdi

TCPDI is a PHP class for importing PDF to use with TCPDF

231.2M1](/packages/propa-tcpdi)[bithost-gmbh/pdfviewhelpers

This is a TYPO3 CMS extension that provides various Fluid ViewHelpers to generate PDF documents.

45255.6k2](/packages/bithost-gmbh-pdfviewhelpers)[ensepar/html2pdf-bundle

Use HTML2PDF as a Symfony Service

27676.2k1](/packages/ensepar-html2pdf-bundle)

PHPackages © 2026

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