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

Blade Prime Icons Laravel Package

codeat3/blade-prime-icons

Laravel Blade component package for easily rendering PrimeIcons in your views. Use a simple Blade tag to add icons, control size and classes, and keep templates clean—no manual SVG or CSS setup required. Ideal for quickly adding consistent icons to Laravel apps.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for icon delivery: A free, MIT-licensed wrapper that exposes the full PrimeIcons set as Blade components (<x-prime-icons-* />). It replaces bespoke icon plumbing — inline SVG partials, sprite files, caching, attribute handling — with a single Composer require. The "build" option here is cheap but recurring; this eliminates it entirely.
  • Framework upgrade roadmap: Release 1.8.0 contains exactly one change — Laravel 13 compatibility (PR #16). Read it as permission to stay current, not new product value. It removes the package as a potential blocker on the Laravel 12 → 13 path; it is not a reason to schedule that upgrade sooner.
  • Design-system alignment: High value where the product already standardizes on PrimeVue/PrimeNG. Sharing one icon vocabulary across server-rendered Blade and the JS front end avoids maintaining two parallel icon sets and keeps naming consistent for designers and engineers.
  • Use-case fit: Best for server-rendered Blade/Livewire admin panels, internal tools, and dashboards where icons are static and rendered once. Poor fit for client-side icon swapping, per-user theming, or anything with strict JS bundle budgets — a Blade component does not participate in bundling at all.
  • Dependency policy signal: A prompt, one-line compatibility release is a healthy maintenance signal for a low-criticality dependency. Combined with near-zero code volume, it supports a "safe to depend on, cheap to exit" call.
  • Adoption signal is not the rationale: 0 stars, 0 dependents, niche opportunity score. That is acceptable only because the package is thin and the exit cost is hours. Do not cite popularity in the decision record.

When to Consider This Package

Adopt when:

  • The stack is Laravel 10–13 with Blade (optionally Livewire), and icons render server-side.
  • PrimeIcons already is — or is willing to become — the canonical icon set across design and front end.
  • You want zero-configuration icon components: no publish step, no bundler changes, no CDN or webfont request, no FOUT.
  • You are planning a Laravel major upgrade and need dependencies that do not lag; 1.8.0 clears that bar for Laravel 13.
  • Icon usage is low-criticality: if abandoned, replacement is a mechanical find-and-replace, not a rewrite.

Look elsewhere when:

  • The front end is React/Vue/Svelte-first and icons are consumed client-side — the Blade wrapper adds nothing; use PrimeIcons CSS/font or SVG assets directly.
  • You need a different or custom icon set (Heroicons, Lucide, Font Awesome, brand icons). Prefer a pack covering that set rather than mixing several single-set packages.
  • You require tree-shaking, per-icon code splitting, or strict payload budgets.
  • You need vendor support, SLAs, or an audited security posture. Single-maintainer community package; it will not pass procurement requiring a contract.
  • You need guaranteed semver discipline for icon names. Upstream glyph renames can break templates; pin the version and treat bumps as reviewable.

Two checks before committing: diff composer.json between 1.7.0 and 1.8.0 to confirm the Laravel 13 change is additive and does not also raise the blade-icons or PHP floor; and resolve the full dependency graph in a scratch branch alongside any other blade-* icon packages already in composer.lock — shared transitive dependency on blade-ui-kit/blade-icons is the most likely real-world conflict.

How to Pitch It (Stakeholders)

To executives: This is a small, free, open-source add-on that lets our Laravel application render its icon set directly from templates, instead of duplicating icon handling code across the codebase. The 1.8.0 release is a maintenance update — it declares compatibility with Laravel 13, which means it will not hold up our framework upgrade. There is no new feature, no cost, and no lock-in. Exit cost is measured in hours, not weeks, and the package is MIT-licensed.

To engineering: 1.8.0 is a single change — Laravel 13 compatibility (PR #16). No API changes, no deprecations, no breaking changes; treat it as a patch-grade bump on the constraint. Architecturally the package is intentionally thin: a Blade component wrapper over the PrimeIcons SVG set, delegating rendering, attribute merging, and caching to blade-ui-kit/blade-icons. No runtime services, no config surface, no database or queue involvement. Install is one Composer require with auto-discovery; time-to-first-icon is under an hour.

Sequencing that keeps risk low: verify the composer.json diff is additive, resolve the dependency graph with existing icon packages present, convert one low-traffic page as a smoke test with visual parity sign-off, add the icon cache build as an explicit deploy step (not a lazy runtime call), then roll out set-wide behind a flag for one release cycle. Pin the version — upstream icon-name changes are the only realistic breakage vector — and review lockfile diffs rather than auto-merging. If the project is not already on PrimeVue/PrimeNG, do not introduce a second icon set solely for this package. Assign watch duty for blade-icons majors, Laravel majors, and PrimeIcons upstream to whoever owns the frontend asset budget; roughly an hour per quarter. Support is community-only, so the pre-agreed position is "fork if abandoned" — for something this size, patching a Blade service provider in-house is entirely reasonable.

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