Search

Showing 7 of 1,975 result(s)

/blog/2016/11/16/laravel-string-helper-function-words

The words helper method is similar to the limit function, but instead of limiting the number of characters returned, it limits the number of words returned. The signature for the words helper function is: words($value, $words = 100, $end = '...')

/blog/2016/11/19/laravel-array-helper-function-array_pluck#content-arraypluckarray-value-key--null

The array_pluck function is a shortcut to calling Arr::pluck . This function is declared in the global namespace.

/blog/2016/11/20/laravel-application-helper-function-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/2016/11/20/laravel-application-helper-function-factory

factory() The factory function is used to create Eloquent models, generally used when testing an application. The factory method can generally take one of four forms:

/blog/2016/11/20/laravel-application-helper-function-redirect

redirect($to = null, $status = 302, $headers = [], $secure = null) The redirect helper function is a versatile helper function. The $to parameter is defined with a default value of null . When $to is null , the redirect function by default will...

/blog/2016/11/20/laravel-application-helper-function-redirect#content-redirecting-to-secure-urls

A truth value of true can be supplied as an argument for the $secure parameter to generate secure (HTTPS) URLs when redirecting: The URL that would be internally generated and redirected to in the above example would be (the actual URL will differ...