# php-embed/Embed

Get info from any web service or page

Repository: https://github.com/php-embed/Embed
Canonical: https://ross.abutalabs.com/products/embed
Language: PHP
License: MIT
License Family: permissive
Topics: opengraph, twitter-cards, embeds, scraping, oembed
Last push: 2026-07-08T19:25:10+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 92, longevity 100
- inputs: {"age_days": 5076, "days_push": 56, "days_rel": 56, "gap_med": 23.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2140, forks 323 (observed 2026-08-28T04:06:18.316325+00:00)

## What it is
A PHP library that extracts metadata and embed information from any web page or web service using oEmbed, OpenGraph, Twitter Cards, and HTML scraping. It provides title, description, images, embed code, author, and provider info for URLs like YouTube, Vimeo, and Flickr.

## Use cases
- generate link previews for user-submitted urls
- extract opengraph metadata from a webpage
- get embed code for youtube or vimeo videos
- scrape page title description and thumbnail in php
- fetch oembed data for any url

## When to choose
- you need rich URL metadata or embeddable media code in a PHP application
- you want a single library handling oembed, opengraph, and twitter cards
- you need site-specific adapters for services like YouTube or archive.org

## When to avoid
- you need actively maintained software with guaranteed fixes
- your project requires PHP 5.5-7.3 (use the 3.x branch instead)
- you need a full-scale crawler or headless-browser scraping solution

## Facets
- artifact type: library
- maturity: maintenance
- function: web-scraping, http-client, parser
- domain: web-development, crawlers
- platform: php
- tags: oembed, opengraph, twitter-cards, link-preview, metadata-extraction, web-server

## Member repositories
- php-embed/Embed (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.316325+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:51:29.387213+00:00, confidence not recorded.
  - readme: https://github.com/php-embed/Embed (fetched 2026-08-28T04:06:18.316325+00:00, sha e36f9a9fbe77)
- Data as of 2026-08-30T08:39:29.467469+00:00.
