| array_add |
Add an element to an array using "dot" notation if it doesn't exist. |
| array_build |
Build a new array using a callback. |
| array_collapse |
Collapse an array of arrays into a single array. |
| array_divide |
Divide an array into two arrays. One with keys and the other with values. |
| array_dot |
Flatten a multi-dimensional associative array with dots. |
| array_except |
Get all of the given array except for a specified array of items. |
| array_first |
Return the first element in an array passing a given truth test. |
| array_flatten |
Flatten a multi-dimensional array into a single level. |
| array_forget |
Remove one or many array items from a given array using "dot" notation. |
| array_get |
Get an item from an array using "dot" notation. |
| array_has |
Check if an item exists in an array using "dot" notation. |
| array_last |
Return the last element in an array passing a given truth test. |
| array_only |
Get a subset of the items from the given array. |
| array_pluck |
Pluck an array of values from an array. |
| array_pull |
Get a value from the array, and remove it. |
| array_replace_value |
Replace your array value. |
| array_set |
Set an array item to a given value using "dot" notation. |
| array_sort |
Sort the array using the given callback. |
| array_sort_recursive |
Recursively sort an array by keys and values. |
| array_where |
Filter the array using the given callback. |
| cache |
A cache helper to simplify it's usage. |
| camel_case |
Convert a value to camel case. |
| class_basename |
Get the class "basename" of the given object / class. |
| class_uses_recursive |
Returns all traits used by a class, its subclasses and trait of their traits. |
| collect |
Create a collection from the given value. |
| container |
Get the available container instance. Make sure you have enabled Container components. In your components configuration, add this lines:. |
| data_get |
Get an item from an array or object using "dot" notation. |
| dd |
Same as dump, but after dumping, we also stop the PHP exectution runtime by calling die() function. |
| def |
Save way to access array or public property from an object. |
| dump |
The Dumper component provides mechanisms for walking through any arbitrary PHP variable. Built on top, it provides a better dump() function that you can use instead of var_dump. |
| e |
Escape HTML entities in a string. |
| ends_with |
Determine if a given string ends with a given substring. |
| fluent |
Create a new model from the given value. |
| get |
Get $_GET value |
| head |
Get the first element of an array. Useful for method chaining. |
| input |
Get $_POST value |
| last |
Get the last element from an array. |
| object_get |
Get an item from an object using "dot" notation. |
| preg_replace_sub |
Replace a given pattern with each value in the array in sequentially. |
| request |
Get post / get value |
| response |
Make response even quicker. |
| session |
Session helper. |
| snake_case |
Convert a string to snake case. |
| starts_with |
Determine if a given string starts with a given substring. |
| str_contains |
Determine if a given string contains a given substring. |
| str_finish |
Cap a string with a single instance of a given value. |
| str_is |
Determine if a given string matches a given pattern. |
| str_limit |
Limit the number of characters in a string. |
| str_random |
Generate a more truly "random" alpha-numeric string. |
| str_replace_array |
Replace a given value in the string sequentially with an array. |
| str_slug |
Generate a URL friendly "slug" from a given string. |
| studly_case |
Convert a value to studly caps case. |
| title_case |
Convert a value to title case. |
| trait_uses_recursive |
Returns all traits used by a trait and its traits. |
| transaction |
Get a transaction on a connection. |
| trimtolower |
Trim and convert a value to lowercase. |
| value |
Return the default value of the given value. |
| with |
Return the same value you passed to it's argument. Very usefull to access chain object / method in non-reuse-instance cases (PHP v5.3), like with(with($foo = new Foo)->foo())->bar($foo). |