PHPackages                             sojebsikder/html2pdf - 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. sojebsikder/html2pdf

ActiveLibrary

sojebsikder/html2pdf
====================

Convert html to pdf

v1.0.0(3y ago)07MITPHP

Since Nov 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/SojebSikder/laravel-html2pdf)[ Packagist](https://packagist.org/packages/sojebsikder/html2pdf)[ Docs](https://github.com/SojebSikder/laravel-html2pdf)[ RSS](/packages/sojebsikder-html2pdf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

laravel-html2pdf
================

[](#laravel-html2pdf)

This is a simple laravel package based on this

- It helps to convert html to pdf

Install
-------

[](#install)

```
composer require sojebsikder/html2pdf

```

Example:
--------

[](#example)

Save pdf as file

```
    $html = new Html2pdf();
    $html->setUrl('http://google.com');
    return $html->saveAs('sojeb.pdf');
```

Download pdf

```
    $html = new Html2pdf();
    $html->setUrl('http://google.com');
    return $html->download();
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1285d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d18613cf2a19789ed92f147eb376c0189ba7d945d1f68435381845ad51d259c1?d=identicon)[sojebsikder](/maintainers/sojebsikder)

---

Top Contributors

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

---

Tags

html2pdflaravellaravel-packagepdf-converterlaravelhtml2pdfsojebsikder

### Embed Badge

![Health badge](/badges/sojebsikder-html2pdf/health.svg)

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

###  Alternatives

[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[tpetry/laravel-mysql-explain

Get Visual MySQL EXPLAIN for Laravel.

264154.2k](/packages/tpetry-laravel-mysql-explain)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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