PHPackages                             divineomega/web-article-formatter - 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. divineomega/web-article-formatter

Abandoned → [jord-jd/web-article-formatter](/?search=jord-jd%2Fweb-article-formatter)Library[PDF &amp; Document Generation](/categories/documents)

divineomega/web-article-formatter
=================================

Web Article Formatter

v3.0.0(4mo ago)831[1 issues](https://github.com/Jord-JD/web-article-formatter/issues)LGPL-3.0-onlyPHP

Since Mar 25Pushed 4mo agoCompare

[ Source](https://github.com/Jord-JD/web-article-formatter)[ Packagist](https://packagist.org/packages/divineomega/web-article-formatter)[ GitHub Sponsors](https://github.com/DivineOmega)[ RSS](/packages/divineomega-web-article-formatter/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

🌐🔀📰 Web Article Formatter
=========================

[](#-web-article-formatter)

[![StyleCI](https://camo.githubusercontent.com/65d9a2e11e4af02890643d3f2eb7a6727c0570a4c67952c6baf719372e337bea/68747470733a2f2f7374796c6563692e696f2f7265706f732f3132363634373234322f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/126647242)

The web article formatter can extract and convert an article from a webpage into a number of other formats, including PDF, markdown, JSON, plain text and more.

Installation
------------

[](#installation)

You can install Web Article Formatter via Composer. Just run the following command.

```
composer require jord-jd/web-article-formatter

```

Usage
-----

[](#usage)

To retrieve a web page article and convert it into a different format, first create a new `WebArticleFormatter`passing it the URL of the web page. Then, simply call the formatter's `get` method, passing it a valid format constant.

A list of all format constants can be found in the [`Format` class](src/Format.php).

```
$formatter = new WebArticleFormatter($url);

echo $formatter->get(Format::PLAINTEXT);
echo $formatter->get(Format::MARKDOWN);
echo $formatter->get(Format::HTML);
echo $formatter->get(Format::JSON);

file_put_contents('article.pdf', $formatter->get(Format::PDF));
```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance73

Regular maintenance activity

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity67

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 ~721 days

Total

5

Last Release

135d ago

Major Versions

v1.1.1 → v2.0.02026-02-14

v2.0.0 → v3.0.02026-02-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

---

Top Contributors

[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (18 commits)")

---

Tags

htmljsonmarkdownpdfphpphp-libraryscraperwebpagewebpage-scraper

### Embed Badge

![Health badge](/badges/divineomega-web-article-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/divineomega-web-article-formatter/health.svg)](https://phpackages.com/packages/divineomega-web-article-formatter)
```

###  Alternatives

[aws/aws-sdk-php

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

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)

PHPackages © 2026

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