markup/oembed-bundle
Symfony bundle that adds oEmbed support, turning media URLs from providers like YouTube, Vimeo, and Twitter into ready-to-use embed HTML via configurable services and Twig helpers.
<link rel="alternate" type="application/json+oembed">, then a GET to the provider endpoint returning HTML or a JSON/XML payload). A PM should frame this as a 1–2 sprint build with a maintained framework-agnostic library, not a "buy a bundle" decision. This package informs the scope estimate, not the choice.opportunity score with near-zero adoption (3 stars, 0 dependents) is a signal that the PHP oEmbed niche is thin. A PM can treat that as either "internal build is low-risk" or "candidate for an open-source contribution" if we want visibility in the community.Look elsewhere if: we are on Laravel (this is a Symfony bundle — the framework mismatch alone disqualifies it; oscarotero/embed or embed/embed are the framework-agnostic PHP options), we run PHP 8+, we need active security patching (zero dependents and no maintainer activity means no one is watching CVEs), or we need consumer-side discovery and provider-agnostic parsing. Also look elsewhere if we need responsive aspect-ratio handling, privacy-enhanced/youtube-nocookie modes, or GDPR consent gating — none of that is in scope here.
Non-starters to flag explicitly: 3 stars and 0 dependents means no community validation and no bug-fix path; a single-maintainer, unmaintained bundle in the request path of user-submitted URLs is a supply-chain and reliability liability.
To executives: Rich media embeds are a small, well-understood feature with outsized visible impact on perceived product quality, and the provider side is a distribution channel that lets external sites embed our content with attribution — a marketing surface we do not currently own. However, this specific package is not the vehicle: it targets Symfony 2, which is end-of-life, and it is unmaintained. Recommendation: treat it as a scoping reference and budget one to two sprints to build the capability in-house on our own stack with a maintained library. Cost is low, risk of adopting the package is not.
To engineering: This bundle is a thin Symfony 2 wrapper over the oEmbed 1.0 spec — a provider route that maps URL schemes to embed markup, plus Twig helpers for rendering. It confirms the work is small: a URL-to-provider allowlist, a server-side fetch (watch SSRF: restrict outbound hosts, set timeouts, cache responses), sanitized HTML output, and responsive iframe wrappers. For the provider side, we need /oembed?url=...&format=json, a scheme registry, and discovery tags in our page head. We are not taking a dependency: it is EOL framework, single maintainer, zero dependents, last release January 2020.
Decision requested: Approve an internal build on current-stack tooling, and approve a provider-side allowlist and consent policy as part of the scope. Reject the package as a dependency.
How can I help you explore Laravel packages today?