Download the PHP package fyre/array without Composer

On this page you can find all versions of the php package fyre/array. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package array

FyreArray

FyreArray is a free, open-source array manipulation library for PHP.

Table Of Contents

Installation

Using Composer

In PHP:

Methods

Chunk

Split an array into chunks.

Collapse

Recursively replace elements into the first array.

All arguments supplied to this method will be replace into the first array.

Column

Get the values from a single column in the input array.

Combine

Creates an array by using one array for keys and another for its values.

Count

Count all elements in an array.

Difference

Find values in the first array not present in any of the other arrays.

Any additional arguments supplied will be used to test for the values of the first array.

Divide

Split an array into keys and values.

Dot

Flatten a multi-dimensional array using "dot" notation.

Except

Filter an array without the specified key/value pairs.

Fill

Fill an array with values.

Filter

Filter elements of an array using a callback function.

If $callback is omitted this function will filter empty elements from the array.

Find

Find the first value in an array that satisfies a callback.

Find Last

Find the last value in an array that satisfies a callback.

Flatten

Flatten a multi-dimensional array into a single level.

Forget Dot

Remove a key/value pair using "dot" notation.

Get Dot

Retrieve a value using "dot" notation.

Has Dot

Determine whether a given element exists in an array using "dot" notation.

Has Key

Determine whether a given key exists in an array.

Includes

Determine whether a given value exists in an array.

Index

Index a multi-dimensional array using a given key value.

Index Of

Search an array for a given value and returns the first key.

Intersect

Find values in the first array present in all of the other arrays.

All additional arguments supplied will be used to test for intersections.

Is Array

Determine whether the value is an array.

Is List

Determine whether an array has consecutive keys starting from 0.

Join

Join an array elements using a specified separator.

Keys

Get all keys of an array.

Last Index Of

Search an array for a given value and returns the last key.

Map

Apply a callback to the elements of an array.

Merge

Merge one or more arrays.

All additional arguments supplied will be merged with the first array.

Only

Filter an array with only the specified key/value pairs.

Pad

Pad an array to a specified length with a value.

Pluck Dot

Pluck a list of values using "dot" notation.

Pop

Pop the element off the end of array.

Push

Push one or more elements onto the end of array.

All additional arguments supplied will be pushed onto the array.

Random Value

Get a random value from an array.

Range

Create an array containing a range of elements.

Reduce

Iteratively reduce an array to a single value using a callback function.

Reverse

Reverse the order of elements in an array.

Set Dot

Set a value using "dot" notation.

Shift

Shift an element off the beginning of the array.

Shuffle

Shuffle an array.

Slice

Extract a slice of the array.

Sort

Sort an array.

Splice

Remove a portion of the array and replace it with something else.

Unique

Remove duplicate values from an array.

Unshift

Prepend one or more elements to the beginning of an array.

All additional arguments supplied will be prepended to the array.

Values

Get all values of an array.

Wrap

Create an array from any value.


All versions of array with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fyre/array contains the following files

Loading the files please wait ....