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 Functions Laravel Package

spatie/array-functions

Handy PHP array utilities from Spatie. Adds small, focused functions in the Spatie namespace (e.g., array_rand_value to pick a random value) to complement built-in array helpers. Install via Composer and use directly in your code.

View on GitHub
Deep Wiki
Context7
1.9.4
  • test enhancement and integrate GitHub Actions (#22)
1.9.3
  • optimize array_rand_weighted (#19)
1.9.1
  • fix division by zero in array_split (#16)
1.9.0
1.8.0

Added array_flatten

1.7.0

added array_merge_values function

1.6.0

added array_split function

1.5.0
  • added array_split_filter
1.3.0
  • Added: array_rand_weighted
  • Added: array_keys_exist
1.2.0
  • Various fixes & improvements
1.1.1

Version 1.1.1

1.1.0

Stable version 1.1.0

1.0.0

Stable version 1.0.0

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