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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sojebsikder/html2pdf

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

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 today

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

Maturity47

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

1333d 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

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M992](/packages/statamic-cms)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k39](/packages/neuron-core-neuron-ai)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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