PHPackages                             muan/universal-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. muan/universal-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

muan/universal-parser
=====================

Universal Parser in php

1.3(7y ago)05MITPHP

Since Nov 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mustardandrew/universal-parser)[ Packagist](https://packagist.org/packages/muan/universal-parser)[ RSS](/packages/muan-universal-parser/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Universal Parser in php
=======================

[](#universal-parser-in-php)

Universal interface for make concrete parser in php.

Requirements
------------

[](#requirements)

- PHP &gt;=7.1

Install
-------

[](#install)

```
composer require muan/universal-parser
```

Usage
-----

[](#usage)

Create **HttpClientAdapter** or make your own adapter by implementing interface **HttpClientAdapterInterface**.

```
$httpClientAdapter = new \UniversalParser\HttpClientAdapter();
```

Make array with parsers. You can create your own parsers by implementing **ParserInterface**.

```
$parsers = [
    'title' => \UniversalParser\Parsers\TitleParser::class,
];
```

Create Universal Parser

```
$universalParser = new \UniversalParser\UniversalParser($httpClientAdapter, $parsers);
```

and parse url

```
$url = 'https://laravel.com/docs/5.7/contributions';
$data = $universalParser->getData($url);
```

License
-------

[](#license)

Universal Parser package is licensed under the [MIT License](http://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

4

Last Release

2779d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/muan-universal-parser/health.svg)

```
[![Health](https://phpackages.com/badges/muan-universal-parser/health.svg)](https://phpackages.com/packages/muan-universal-parser)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[spatie/crawler

Crawl all internal links found on a website

2.8k18.5M62](/packages/spatie-crawler)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[drupal/drupal-extension

Drupal extension for Behat

22215.7M172](/packages/drupal-drupal-extension)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M338](/packages/drupal-core-dev)

PHPackages © 2026

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