Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Youtube Field Laravel Package

m-a-k-o/youtube-field

A Laravel field package for adding YouTube videos to your admin forms. Editors paste a YouTube URL or video ID, get an inline preview, and the reference is saved on your model so you can embed the player anywhere in your Blade views.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for admin tooling. This package is a single-purpose Nova field: it renders a YouTube URL/ID input with a preview inside a Laravel Nova resource form. Its real decision value is as a reference point for the "adopt a micro-package vs. write 60 lines ourselves" call — a tradeoff PMs own because it trades engineering hours now for maintenance surface later.
  • Whether video is a first-class content type. If editors are pasting YouTube links into a generic text field today, a dedicated field signals that video is a supported, reviewed content type. If it's an occasional embed, the upgrade isn't worth the dependency.
  • Editorial workflow and content-ops roadmap. A preview-on-entry field shortens the "paste URL → publish → notice it's broken" loop. That supports decisions about QA gates, publishing SLAs, and whether to invest in a richer media library or DAM integration later.
  • Scope control on roadmap items. It gives a cheap answer to "can we make the CMS nicer for the video team this quarter?" without committing to a media platform build. Good for de-risking a small bet before a larger one.
  • Vendor-risk posture in the admin layer. Zero stars, zero dependents, one maintainer, last release April 2023 (and an inconsistent repo/package name) is a data point for a broader policy: what dependency quality bar applies to internal-only admin code versus customer-facing code.

When to Consider This Package

Adopt only under narrow conditions:

  • You are already on Laravel Nova (this is a Nova field, not a general Blade/Livewire component — no Nova, no value).
  • The use case is internal, authenticated admin only — no customer-facing rendering, no security-sensitive surface.
  • You need the capability this sprint, the field is genuinely small, and you are willing to vendor/fork it into your own codebase rather than depend on upstream.
  • You can verify compatibility yourself against your Nova and Laravel major versions before merging, and you have someone who can own that check on every upgrade.

Look elsewhere — or just write the field — when:

  • You need maintenance guarantees: Nova 5 / Laravel 11+ compatibility is unverified, the last release predates current majors, and there's no visible maintainer activity or issue triage.
  • You need more than a URL field: playlists, transcripts, captions, oEmbed metadata, privacy-enhanced embeds, duration/thumbnail caching, analytics, or bulk media pickers.
  • The video appears in a public or multi-tenant context, where a stale embed or hardcoded iframe behavior becomes a production incident rather than an editor annoyance.
  • Your org has a dependency policy with minimum signals (stars, dependents, release cadence, security advisories) — this package fails nearly all of them.
  • The alternative is genuinely cheap: a Nova Text field plus a small custom field class is likely a half-day of work and removes the external dependency entirely.

How to Pitch It (Stakeholders)

For executives: This is a small, free, single-purpose add-on for our admin panel that lets editors paste a YouTube link and see a preview immediately, instead of discovering a broken video after publishing. The cost is near zero and the upside is a faster, less error-prone publishing loop for video content. The risk is also clear: the package is effectively unmaintained — no stars, no downstream users, no release in over a year — so we should treat it as sample code we adopt, not a vendor we rely on. Recommendation: fund a few hours to copy the field into our own codebase and own it, rather than take a dependency. That gives us the editorial benefit with no long-term maintenance exposure.

For engineering: One Nova field, roughly a text input plus embed preview. Do not composer require it as a live dependency — vendor the class, add a test that the preview renders for valid/invalid URLs and that the model stores a normalized video ID, and pin the behavior to our Nova version. Budget half a day including review; treat upstream as inspiration, not a source of truth.

Bottom line for the roadmap: low strategic weight, low opportunity score, but a legitimate quick win for content-ops UX if scoped as internal tooling with in-house ownership. It should not appear on a customer-facing roadmap, and it should not block or shape any media-platform decision.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource