Search

Showing 7 of 1,697 result(s)

/blog/2018/04/14/laravel-5-generating-paths-relative-to-the-storage-directory-with-storage_path

The storage_path will return the path to the storage directory. It can also be used to construct paths relative to the storage directory if a $path is supplied.The signature of the storage_path function is:The following examples will assume that...

/blog/2018/04/14/laravel-5-hashing-strings-with-bcrypt

The bcrypt function will return a hashed representation of the given $value . The bcrypt function also accepts an array of $options which can be used to affect how the hash is computed. Each invocation of the bcrypt function should produce a...

/blog/2018/04/14/laravel-5-redirecting-users-to-the-previous-page-with-back#content-returning-a-redirect-response-using-the-response-helper-function

Like the Redirect facade, the redirect helper function will resolve an instance of "Illuminate\Routing\Redirector" from the service container and then all the back method that is defined there:

/blog/2018/04/15/laravel-5-checking-if-the-script-is-executing-on-a-windows-machine-with-windows_os

The windows_os helper function can be used to determine if the host server is running a Microsoft Windows® operating system. The function returns either true —if the server is running Windows®—or false —if the server is not running Windows®.The...

/blog/2018/04/15/laravel-5-getting-array-or-object-values-with-data_get

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 input value.The signature of the data_get function is:If...

/blog/2018/04/15/laravel-5-retrieving-object-values-with-object_get

…situations where it can not be guaranteed that a provided object will have a given property, identified by the given $key .The signature of the object_get function is:The following sample class structure will be used in the following examples:...