PHPackages                             tuvi/easycut - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tuvi/easycut

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tuvi/easycut
============

A tool to easily get slices of simple and multidimensional arrays

0.0.2(9y ago)114MITPHP

Since Oct 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/andela-doladosu/easycut)[ Packagist](https://packagist.org/packages/tuvi/easycut)[ RSS](/packages/tuvi-easycut/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

EasyCut
=======

[](#easycut)

### About EasyCut

[](#about-easycut)

---

EasyCut is a tiny toolkit for quickly cutting a simple or multidimensional array in php by specifying an index, a value or a key-value pair that exists in the array.

### Requirements

[](#requirements)

---

- php
- composer

### Installation

[](#installation)

---

In your terminal/command line, run `composer install tuvi/easycut`. Make sure you add `use Tuvi\EasyCut;` to the top of the file where you'll be using EasyCut

Use cases
---------

[](#use-cases)

#### 1 EasyCut for a simple array

[](#1-easycut-for-a-simple-array)

Using

```
