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 2w 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 17% 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

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

[aws/aws-sdk-php

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

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k55](/packages/neuron-core-neuron-ai)[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[aspose-cloud/aspose-words-cloud

Open, generate, edit, split, merge, compare and convert Word documents. Integrate Cloud API into your solutions to manipulate documents. Convert PDF to Word (DOC, DOCX, ODT, RTF and HTML) and in the opposite direction.

33182.7k](/packages/aspose-cloud-aspose-words-cloud)

PHPackages © 2026

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