Search

Showing 7 of 1,975 result(s)

/blade-parser/v1/the-compiler#content-setechoformat

Set the echo format to be used by the compiler. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::setEchoFormat method. You do not need to manually call this method to sync compiler information if you use the...

/blade-parser/v1/the-compiler#content-withdoubleencoding

Set the "echo" format to double encode entities. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::withDoubleEncoding method. You do not need to manually call this method to sync compiler information if you use the...

/blog/2013/10/29/getting-the-environment-name-in-laravel-4

…your development machine and the production environment is the server where your end users access the application. Using environments, our Laravel 4 application can automatically change to a different database server or use a different cache...

/blog/2016/11/20/laravel-application-helper-abort_unless

…unction will abort execution of the application. The following example assumes that some $user object exists with the property admin . The example will check to make sure that the admin property is true . If not, the code will abort with a 401...

/blog/2016/12/07/laravel-artisan-generator-command-the-makemiddleware-command

The make:middleware command is used to generate a middleware class. It accepts a name that will be used as the name of the newly generated class and file. Generated classes are stored within the app/Http/Middleware directory. The following example...

/blog/2017/07/23/the-statamic-addon-roundup#content-postimage

You may have noticed that there are many different sizes of "post images" on this site. One of the first versions of the site that I built used an image with the same dimensions for each place a blog post might appear. For example, on the home...

/blog/2018/04/15/laravel-5-setting-array-or-object-values-with-data_set#content-example-use

The following code example will show the very basic usage of the data_set function: Because the $overwrite property is set to true by default the first_name item will now contain the value Jill . If we modified the example to look like this: The...