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

Filter Via Dot Access Data Laravel Package

consolidation/filter-via-dot-access-data

Filter nested PHP arrays with concise dot-access paths. This lightweight package lets you query config-like data using readable dotted keys, simplifying conditional filtering and value lookup in Laravel or plain PHP projects without verbose array access. Ideal for configuration, request data, and ne...

Deep Wiki
Context7

Technical Evaluation

Architecture fit: This package is a narrow CLI-output filtering utility built on dflydev/dot-access-data; it is not a Laravel framework package and has no service provider, facade, config, or Eloquent/HTTP integration. Its natural fit is limited to Artisan commands, internal CLI tools, and structured console output where users need dot-path field selection such as user.name or meta.status. It should not sit in domain logic, HTTP request paths, queue workers, or Blade rendering. For most Laravel products, this is an optional developer-experience dependency rather than an architectural component.

Integration feasibility: Technically feasible via Composer if PHP and dependency constraints resolve against the target Laravel version. The main dependency is dflydev/dot-access-data, so integration risk is largely inherited from that package and the host application’s PHP version. Because the package has no Laravel-specific wiring, adoption is simple but also provides no framework safeguards. A TPM should treat it as a small utility library, not a platform capability, and require a compatibility spike against the app’s PHP/Laravel matrix before approval.

Technical risk: High relative to value. The last release is from January 2019, the repository is unknown in this assessment, stars are low at 45, and the license is reported as NOASSERTION, which creates legal/procurement ambiguity. The package may still work, but it is effectively unmaintained and carries abandonment, PHP 8+/Laravel 10+/11 compatibility, and transitive dependency risk. Security exposure is likely low because it filters in-process CLI output, but output-handling bugs, missing-key behavior, malformed dot paths, and type assumptions can still cause incorrect CLI output or command failures. The 0.445 score reinforces low confidence; this should not be adopted without a specific CLI use case and a fallback plan.

Key questions: What exact Artisan/CLI workflows need dot-path filtering, and can the same outcome be achieved with native Laravel Collection/Arr helpers or direct use of dflydev/dot-access-data? What is the actual license, and has legal approved it? Is the package maintained, tested against current PHP versions, and compatible with the target Laravel release? Who owns the dependency if the maintainer disappears? Does it handle missing paths, arrays, scalars, and nested objects deterministically? Is it already present transitively, and if so, can we remove direct reliance? What is the rollback path if Composer resolution breaks during a framework upgrade?

Integration Approach

Stack fit: Use only on CLI-facing surfaces: Artisan commands, scheduled maintenance commands, internal admin tooling, export commands, or structured JSON/table output where field projection is genuinely useful. Do not introduce it into HTTP controllers, API resources, domain services, or shared business logic. If the team needs dot-path access broadly, evaluate dflydev/dot-access-data directly or implement a small internal helper to avoid wrapping an unmaintained package.

Migration path: If the package is already present in a legacy CLI path, isolate it behind a thin application-owned adapter rather than calling it throughout commands. Map current behavior with characterization tests, then either retain the adapter, replace it with native Arr::get/data_get where sufficient, or vendor/fork the minimal filtering logic. If it is not already present, do not add it by default; require a documented CLI use case and an approved exception.

Compatibility: Run a Composer dependency-resolution spike against the exact PHP and Laravel versions in production and CI. Check transitive constraints from dflydev/dot-access-data, PHP 8.1/8.2/8.3 support, and whether the package’s tests or runtime behavior emit deprecations. Pin an exact version and lock file entry. Because the last release is 2019, assume no upstream fixes for future PHP/Laravel changes.

Sequencing: First confirm license and procurement approval. Second, prove the specific CLI use case and compare against native Laravel helpers. Third, run a time-boxed compatibility spike in a branch with unit tests for nested paths, missing keys, arrays, scalars, and malformed input. Fourth, wrap usage in one adapter or trait owned by the application. Fifth, add CI coverage and a documented removal/replacement plan. Only then merge into a narrow CLI surface; do not sequence this as a platform-wide dependency.

Operational Impact

Maintenance: Low ongoing code footprint but elevated ownership burden. The application team must own version pinning, PHP/Laravel upgrade validation, vulnerability monitoring, and eventual replacement because upstream activity is stale. The NOASSERTION license status adds procurement and legal overhead that must be resolved before production use.

Support: Expect no vendor support and limited community support at 45 stars. Internal support must rely on the application team’s adapter tests and source inspection. If the package fails during a framework upgrade, the team will likely need to patch, fork, or replace it rather than wait for an upstream fix.

Scaling: Runtime scaling impact is negligible because filtering is in-process CLI output manipulation, not a network or persistence service. The operational scaling concern is organizational: every additional CLI command that depends on the package increases the blast radius of an upgrade or replacement. Keep usage concentrated and countable.

Failure modes: Malformed dot paths, missing keys, unexpected scalar/array shapes, null handling, and output-format corruption can produce incorrect CLI output or non-zero exits. Dependency-resolution failures during PHP/Laravel upgrades are likely over time. License ambiguity can block release or procurement. Lack of maintenance can leave deprecation warnings or incompatibilities unresolved.

Ramp-up: Developer ramp-up is low because the API surface is small and the concept is familiar. TPM and legal ramp-up is higher due to license review, ownership assignment, and upgrade-risk planning. The recommended posture is conditional adoption for a narrow, non-critical CLI use case, with an application-owned adapter, exact version pin, tests, and a pre-approved exit path; otherwise, use native Laravel helpers or the underlying dot-access library directly.

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.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator