Search

Showing 7 of 587 result(s)

/blog/2018/04/14/laravel-5-performing-http-redirects-with-redirect#content-accessing-the-redirector-instance-using-redirect

The Redirector class has many useful methods to help control the flow of users in your application. This section will not cover each method in detail, but simply shows how they can be used in conjunction with the redirect helper function:

/blog/2018/04/14/laravel-5-rendering-views-to-strings-and-returning-view-responses-with-view#content-example-use

The following example demonstrates how to check if a particular view exists by name: When arguments are supplied to the view function an internal call to Factory::make will take place and the created View instance will be returned as the result....

/blog/2018/04/15/laravel-5-displaying-variable-data-and-stopping-script-execution-for-debugging-with-dd

The dd function is a debug utility that will display useful information about the objects or values supplied. This function will also prevent further execution of the script; it will dump the values of the supplied arguments and die (exit the...

/blog/2018/04/15/laravel-5-provide-default-values-for-object-properties-with-optional

The optional function returns a new instance of "Illuminate\Support\Optional" with the provided value. This helper class allows you to easily retrieve a default, or null value on method return values or object properties that might not exist. This...