Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 2.55 KB

File metadata and controls

71 lines (50 loc) · 2.55 KB

Packagist Status Packagist Downloads Stars License


Logo

arrayutils

An library that provides a method to fancy manipulate an array!

View in Packagist · Report a bug · Request a feature

📖 Introduction

The evil PHP array functions give developers the pain of:

  • Some functions requires array first, but some functions require array last...
  • Some functions returns result, but some functions modify referenced variables...
  • Code was line-break because since it is a function...
  • Each function has different parameters to the callback function...
  • No modern functions using arrays. Such as every, some

I created this library to solve these problems and make code flow like js-array

For a detailed description, Click here (GitBook)


📦 Installation

You can use this library with composer.


📈 Performance Benchmark

You can run the performance benchmarks using the following commands:

.\vendor\bin\phpbench run --report=expression --output=json > .\tests\benchmarks_result.json
php .\tests\benchmarks_result_to_markdown.php

📝 License

You can check out the full license here

This project is licensed under the terms of the MIT license