Showing 10 of 1,280 results.

Laravel Collection Public API: shuffle

shuffle The shuffle method is used to rearrange the items of the array in a random distribution. The shuffle method will return a new collection and will not modify the original collection instance. The following code example shows the usage of...

Laravel Application Helper Function: method_field

method_field($method) The method_field helper function is a simple function that returns a new instance of Illuminate\Support\HtmlString . The contents of the HtmlString instance is a hidden HTML input field with the name _method and the a value...

Laravel Artisan Tinker: The up Command

The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). This command performs the same action as...

Laravel Miscellaneous Helper Function: data_get

data_get($target, $key, $default = null) The data_get function is identical in behavior to both the array_get and object_get function. The difference is that the data_get function will accept both objects and arrays as its $target .

Laravel Artisan Tinker: The show Command

The show command is similar to the ls command in that it helps you to learn more about a class instance or object, except that it will show you the underlying code for any function, class, object instance, constant, method or property. Using our...

Filter Search