Search

Showing 7 of 1,975 result(s)

/blog/2016/11/21/laravel-url-helper-function-secure_url

…ply additional data that will be added as a query string by supplying an argument for the $parameters parameter. The secure_url helper function internally returns the value of a call to the url (discussed in the Laravel URL Helper Function: url...

/blog/2016/11/30/encrypting-and-decrypting-within-laravel-applications#content-the-crypt-facade

Laravel provides many facades to make it easier to quickly build application and test ideas. One such facade is the Illuminate\Support\Facades\Crypt facade, which provides access to whatever implementation is bound to the...

/blog/2016/12/01/laravel-artisan-command-input-and-command-signatures#content-using-command-options-as-flags

So far the examples of command options make the assumption that the user is required to enter a value for a command option. Options can be used as flags or switches to change the execution behavior of the command. To have an option behave like a...

/blog/2017/12/06/laravel-5-string-helpers-replacing-the-last-occurrence-of-a-value

The replaceLast helper method is the logical opposite of the replaceFirst helper method. It is used to replace the last occurrence of a given $search string with the provided $replace string in the $subject string. All three parameters are...

/blog/2018/02/19/laravel-5-encoding-html-with-the-e-helper-function

The e function is a simple wrapper of PHP's htmlentities function. The e function utilizes the UTF-8 character encoding. The e function will sanitize user input when displaying it to the browser.