Download the PHP package kikytokamuro/futils without Composer

On this page you can find all versions of the php package kikytokamuro/futils. 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 futils

Futils

Functional utils

Examples:

All

Determines whether all elements of the array satisfies the predicate.

Always

Creates a function that always returns a given value.

Any

Determines whether any element of the array satisfies the predicate.

Compose

Function composition (fn -> ... -> f2 -> f1).

Contains

Check whether a value is contained in a array.

Difference

Computes the difference of arrays.

Drop

Drops the first n elements off the front of the array.

Filter

Filters elements of an array using a callback function.

Find

Find first element of the array satisfies the predicate.

Flatten

Flattens nested arrays.

Has

Check if exists element with this key in array.

Head

Get head of array.

IndexOf

Get first index of value in array.

Join

Join array elements with a string.

Last

Get last element of array.

Map

Applying function to each element of array.

Merge

Merge two arrays.

Partial

Create partial function.

Partition

Equivalent to [(filter f, arr), (reject f, arr)]

Pipe

Function composition (f1 -> f2 -> ... -> fn).

Reduce

Reduce the array to a single value using a callback function.

Reject

Like filter, but the new array is composed of all the items which fail the function.

Replace

Replaces elements from passed arrays into the first array.

Tail

Get tail of array

Take

Get n first elements from array.

When

Only when predicate is true then appling function to argument, else return argument.

Zip

Zips together its two arguments into a array of arrays.

Monads

IdentityMonad - Just annotates plain values and functions to satisfy the monad laws.

MaybeMonad - Encapsulates the type of an undefined value.

ListMonad - Abstracts away the concept of a list of items.


All versions of futils with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 kikytokamuro/futils contains the following files

Loading the files please wait ....