PHPackages                             diversen/get-meta-tags - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. diversen/get-meta-tags

ActiveLibrary[HTTP &amp; Networking](/categories/http)

diversen/get-meta-tags
======================

Getting title and meta tags from external website using curl and DOM

v1.0.2(9y ago)113.7k↓50%1MITPHP

Since Nov 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/diversen/get-meta-tags)[ Packagist](https://packagist.org/packages/diversen/get-meta-tags)[ Docs](http://github.com/diversen/http-send-file)[ RSS](/packages/diversen-get-meta-tags/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

get-meta-tags
=============

[](#get-meta-tags)

PHP composer package for getting title and meta-tags Get meta tags using curl and DOM

Install
-------

[](#install)

```
composer require diversen/get-meta-tags

```

Usage:
------

[](#usage)

```
// include_once "../../vendor/autoload.php";
use diversen\meta;

$m = new meta();

// Simple usage, get's title, description, and keywords by default
$ary = $m->getMeta('https://github.com/diversen/get-meta-tags');
print_r($ary);

// With more params
$ary = $m->getMeta('https://github.com/diversen/get-meta-tags', array ('description' ,'keywords'), $timeout = 10);
print_r($ary);
```

License
-------

[](#license)

MIT © [Dennis Iversen](https://github.com/diversen)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

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

Total

3

Last Release

3481d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ed91d104f16d10414811ecdafbd5c80a660e658d80ccaadf84f512cfb50629?d=identicon)[diversen](/maintainers/diversen)

---

Top Contributors

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

---

Tags

curldommeta-tagsphp-get-meta-tagscurldommeta

### Embed Badge

![Health badge](/badges/diversen-get-meta-tags/health.svg)

```
[![Health](https://phpackages.com/badges/diversen-get-meta-tags/health.svg)](https://phpackages.com/packages/diversen-get-meta-tags)
```

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k34.5M258](/packages/rmccue-requests)[kriswallsmith/buzz

Lightweight HTTP client

2.0k31.3M443](/packages/kriswallsmith-buzz)[mashape/unirest-php

Unirest PHP

1.3k9.7M161](/packages/mashape-unirest-php)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[curl/curl

cURL class for PHP

32814.9M195](/packages/curl-curl)

PHPackages © 2026

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