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

Json Tools Laravel Package

iconify/json-tools

PHP utilities for working with Iconify JSON icon sets: parse and validate icon data, look up icons and metadata, optimize collections, and generate custom subsets for lightweight SVG icon bundles and build pipelines.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for an icon pipeline. If your roadmap includes ingesting, validating, or emitting Iconify JSON icon collections from a PHP/Laravel service, this package is the "buy" option for the format layer. It saves you from reverse-engineering a spec that is deceptively fiddly (aliases, per-icon transformations, hidden/chars metadata, default width/height inheritance, left/top offsets).
  • Admin tooling for curated icon sets. Typical use cases: an internal "icon library" admin where designers upload SVG packs, the backend normalizes them into Iconify JSON, validates them, and exposes them to a frontend using @iconify/vue/@iconify/react. Also fits white-label brand icon sets, icon-set migration between vendors, and de-duplication/cleanup jobs.
  • CI gate for icon assets. "Does this icon pack still parse, do all aliases resolve, are any icons empty or malformed?" is a cheap quality gate that prevents broken icons shipping to production. This is a small, high-leverage use even if nothing else in the roadmap touches icons.
  • Roadmap signal, not a feature. Adoption is a bet that icons become a first-class domain object in your product. With 15 stars and zero dependents, this package tells you the format is stable and worth standardizing on, but the PHP tooling ecosystem around it is essentially unclaimed — which is an opportunity if icon management is core to your product, and a distraction if it isn't.
  • Explicit non-decision: this is not an icon renderer. It does not replace @iconify/* on the frontend, an SVG rasterizer, or a CDN. Keep it server-side and format-focused.

When to Consider This Package

Consider it when all of the following hold:

  • Your stack is PHP/Laravel and you want to avoid standing up a Node toolchain purely to convert or validate icon data.
  • You are producing or consuming Iconify JSON specifically — not arbitrary SVG — and want spec-correct output rather than a hand-rolled serializer.
  • You can tolerate a small, single-maintainer dependency: MIT licensed, tiny surface area, but a low bus factor. Pin the version and wrap it behind your own IconSetRepository/IconSetValidator interface so you can fork or replace it without touching product code.
  • The workload is moderate (admin-time ingestion, CI validation, job-queue conversions), not high-throughput per-request rendering.

Look elsewhere when:

  • You need rendering, sprite generation, or icon search — use the Iconify APIs and the JS @iconify/tools ecosystem, which is far more mature and actively maintained.
  • You need a vendor with SLAs, a security review history, or a broad contributor base. Fifteen stars and zero recorded dependents is the entire support story; treat adoption as "vendoring a utility," not "adopting a platform."
  • Your product already has a Node/TypeScript service. Adding a second implementation of the same format in a second language is a correctness liability — one source of truth beats two.
  • Icon management is incidental. If you only need to display a handful of icons, use @iconify packages or plain SVG assets and skip this entirely.

How to Pitch It (Stakeholders)

To executives: This is a small, free (MIT) utility that lets our PHP backend speak the same icon format the frontend already uses. It removes a class of manual icon plumbing and gives us a validation step so broken icons don't reach customers. Cost is near zero; the strategic value is optionality — if icon libraries become part of our product surface (white-labeling, brand customization, a design-asset admin), this is the cheap foundation. Recommendation: adopt narrowly behind an internal interface, not as a platform commitment.

To engineering: It's a spec-conformance helper for Iconify JSON — parsing, validation, conversion, and cleanup of icon collections. No framework coupling, MIT, minimal dependency weight. The tradeoff is maintenance risk: one maintainer, negligible community, zero dependents on record. Mitigate by pinning the version, writing a thin adapter (IconSetCodec) so the library never leaks into domain code, and keeping a fork path open. Add a CI check that validates every icon pack we ship — that alone justifies the trial. Time-box an evaluation spike (roughly a day) against a real icon pack before committing; if the API shape fights our domain model, write the ~300 lines ourselves and own it.

Ask: approve a time-boxed spike and a wrapped dependency, not a broad rollout.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings