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
Array Actions

Array Actions Laravel Package

kamyshev/array_actions

kamyshev/array_actions is a lightweight PHP/Laravel package offering reusable action helpers for common array transformations and manipulation, helping keep array-handling code cleaner and more expressive with less boilerplate. Ideal for simplifying repetitive array logic in small projects and large...

View on GitHub
Deep Wiki
Context7

kamyshev/array_actions

kamyshev/array_actions is a lightweight PHP package for performing common array actions through a clean, expressive API. It keeps array manipulation readable and consistent, whether you're working in a plain PHP project or a Laravel application.

  • Fluent helpers for frequent array transformations
  • Predictable behavior with clear, chainable methods
  • Laravel-friendly integration for existing projects
  • Lightweight with no unnecessary dependencies
  • Composable operations for custom workflows
Frequently asked questions about Array Actions
Does kamyshev/array_actions support Laravel 10 and Laravel 11?
The package is a pure-PHP utility with no Laravel coupling, so Laravel version support is not the real issue; runtime compatibility is. Its 2018 composer.json will likely pin PHP 7.x, which means Composer resolution against PHP 8.2 or 8.3 on Laravel 10 or 11 will probably fail. The assessment verdict is not to adopt it.
Is kamyshev/array_actions Laravel-specific or framework-agnostic?
It is framework-agnostic. There is no service provider, facade, config publish, migration, or container binding implied by the package. It is imported code that sits in the support or utility layer at best.
How do I install kamyshev/array_actions?
Installation would be a single composer require kamyshev/array_actions with no extensions or external services. However, the repository is archived and the last release was 2018-10-25, so installation is only realistic in a legacy PHP 7 project. On modern PHP and Laravel, expect dependency resolution to fail.
What PHP versions does kamyshev/array_actions support?
A 2018 composer.json will almost certainly constrain PHP to ^7.0 or ^7.1. There is no PHP 8.x bump because the repository is archived. Check the exact php constraint before considering it, but on PHP 8.2 or 8.3 this is likely a hard stop.
What does kamyshev/array_actions actually do?
It provides action-object wrappers around common array manipulation, such as map, filter, and reduce-style operations. The idea is to define array transformations as discrete classes and compose them for cleaner, testable data processing. In a Laravel app, that is mostly an ergonomic style preference rather than a capability gap.
Is kamyshev/array_actions actively maintained?
No. The repository is archived, the last release was 2018-10-25, it has 3 stars and 0 dependents. Archived status means no PHP 8.x compatibility work, no security response, and no bug fixes. You would be taking on a permanent fork obligation or a permanent pin.
What are the best alternatives to kamyshev/array_actions in Laravel?
Use Illuminate\Support\Arr, Illuminate\Support\Collection, and native array_* functions. Those cover the same array manipulation capabilities and are maintained with the framework. If you want action-object ergonomics, write a few small internal action classes instead of adding an abandoned dependency.
Is kamyshev/array_actions safe to use in production?
The assessment rates technical risk as high for a package this small. It is archived and PHP 7-era, so code that appears to run on PHP 8 may produce silent data bugs around key preservation, nested arrays, references, and empty inputs. The recommended verdict is do not adopt.
Does kamyshev/array_actions have documentation and tests?
There is essentially no documentation footprint and no downstream users to validate behavior. The package is only as specified as the author's own tests, and the coverage of those tests is not visible. Edge cases such as key preservation, nested arrays, reference semantics, and empty inputs are unvalidated by anyone but the author.
Should I fork kamyshev/array_actions to add PHP 8 support?
Forking an abandoned 3-star package to save a few hours is usually a bad trade, especially if the library is only a few hundred lines. Vendoring or rewriting the small amount of logic wins on vetting, pinning, and long-term maintenance. If a team insists, confine all call sites behind a thin internal wrapper with a pre-agreed exit plan.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console