Libraries tagged by array methods
imponeer/toarray-interface
16093 Downloads
A PHP interface defining a standard method for converting objects to arrays. Ensures consistent method naming and return type for array conversion across different classes.
itools/smartarray
2357 Downloads
Enhanced PHP arrays with built-in HTML encoding and chainable collection methods
dgifford/text-file
5476 Downloads
Class providing methods for editing text files on a line-by-line basis.
dgifford/property-setter-trait
5634 Downloads
Trait providing methods to set class properties with an array.
dgifford/iterator-trait
6223 Downloads
Trait providing methods implementing the Iterator interface.
asticode/php-toolbox
17611 Downloads
Static methods to ease PHP developments
ahamed/jsphp
502 Downloads
A php library for implementing Array, Object, String methods in JavaScript way.
drupal/core-datetime
412 Downloads
This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() method to the date object.
drago-ex/utils
3903 Downloads
Extended ArrayHash with additional methods for converting data to arrays, including support for uppercase keys.
donchev/email-extractor
751 Downloads
Extract valid email addresses from a string or array of strings.With a few helper methods like sortAsc/sortDesc, unique,filterInclude/filterExclude, lowercase/uppercase included.
wowkaster/yii2-serialize-attributes
6808 Downloads
This behavior allows you to treat model attributes as arrays, and they are automatically serialized for insertion and unserialized upon select, as long as you use the active record find methods.
assegaiphp/collections
528 Downloads
The assegaiphp/collections package is a powerful tool for creating and managing groups of related objects in your AssegaiPHP projects. With this library, you can easily organize and manipulate data in a variety of ways, such as arrays, lists, sets, and maps. The package offers a wide range of methods for adding, removing, and manipulating items, as well as sorting, searching, and filtering your collections. It is fully compatible with PHP 7.x and above and is designed to be lightweight and easy to use. Whether you're building a web application, a CLI tool, or a standalone script, assegaiphp/collections is the perfect choice for working with data. With its simple and intuitive interface, you can easily start working with collections in your project right away.
fetch/array-utils
512 Downloads
Array utility methods, inspired by Ruby's array methods
reliv/array-properties
343 Downloads
Basic array property helper/utility methods
cse/helpers-arrays
69 Downloads
Array helpers provides extra static methods allowing you to deal with arrays more efficiently.