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

Arrayed Laravel Package

transprime-research/arrayed

Arrayed brings fluent, chainable array helpers to Laravel and PHP, making it simple to filter, map, group, sort, and transform nested data with clean, readable syntax. A lightweight toolkit for everyday array manipulation without boilerplate.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy (micro-dependency): This package is a small, focused array utility library centered on dot-notation access (get/set) for nested PHP arrays. It justifies a small dependency only if your product actually manipulates deeply nested config/request/payload arrays and you want to avoid hand-rolling dot-path resolution. It is not a platform decision — scope it as a utility import, not an architectural commitment.
  • Feature delivery where nested-array handling is user-visible: The 2.3.1 fix ("default value missing when keys are empty") is a correctness patch for an edge case — empty key paths now respect the supplied default. If your product features rely on predictable fallback behavior for missing/empty keys (e.g., config lookups, request payload defaults, feature-flag reads), this removes a class of silent null/default bugs before they reach users.
  • Package/library strategy (if you publish SDKs): Because it is framework-agnostic rather than a hard dependency on illuminate/support, adopting it keeps downstream consumers free of a Laravel runtime requirement — a useful differentiator for a SDK or shared library roadmap.
  • Roadmap prioritization: No new capabilities in this release, so it does not unlock roadmap items. Treat it as a maintenance/quality signal, not a feature input.

When to Consider This Package

Consider it when all of the following hold:

  • You need dot-notation get/set on nested PHP arrays in code that must run outside a full Laravel app (libraries, SDKs, standalone services) and therefore cannot lean on Arr/Collection.
  • You want a small, single-purpose dependency rather than writing and maintaining your own path-resolution helpers.
  • Correct empty-key/default handling matters to you — 2.3.1 makes fallback behavior more predictable for degenerate key paths.

Look elsewhere (or use native Laravel helpers / illuminate/support) when:

  • You are already inside a Laravel application and Arr::get, data_get, or Collection cover the need — adding this would be redundant surface area.
  • You need advanced collection transformations, lazy evaluation, or high-throughput performance on large datasets; this is a convenience helper, not a data-processing engine.
  • You require type-safe schema validation or structured DTO mapping — a schema/DTO library is the right tool.
  • Supply-chain / sustainability checks fail: This is a small, single-maintainer project with an incremental patch cadence. If your org requires formal long-term support commitments, multiple maintainers, or a published security policy, evaluate that risk before adopting.

How to Pitch It (Stakeholders)

  • Executives: A tiny, low-risk utility dependency, not a platform bet. The 2.3.1 release is a bug fix only — no breaking changes, no new surface area. It reduces the amount of custom array-handling code we maintain, with no migration cost for the patch itself.
  • Engineering: Dot-notation array access for nested PHP structures, usable with or without Laravel. 2.3.1 corrects default-value handling when keys are empty, closing a quiet source of default/fallback bugs. Stable 2.x line; pin the version, confirm it resolves edge-case behavior in your tests, and monitor maintenance cadence and single-maintainer risk before standardizing on it.
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