Showing 10 of 2,133 results.

Laravel 5: Logging Informative Messages With info

The info helper will write an information entry into Laravel's log files. It allows a $message to be set, as well as an optional $context (which is an array of data). While the $context must be an array, the actual elements of the array do not...

Modifying Compiler Behavior | Compiling Documents

However, there are times when it may be beneficial to change the behavior of the compiler. To do this, we can supply an instance of the Stillat\BladeParser\Document\DocumentCompilerOptions class, which will then be used internally to modify the...

Adding Custom Metadata from Templates | Custom Metadata Tags

We can easily add custom metadata from our front-end templates using the se_meta:append tag. For example, on a search page we might add the following: 1 {{ se_meta : append }} 2 < meta name = " robots " content = " noindex " > 3 {{ /se_meta :...

Laravel 5: Accessing the Service Container With app

The app function provides access to the Illuminate\Container\Container instance. Because Container is a singleton, any call to app() will return the same Container instance. The app function can also be used to resolve registered dependencies from...

Laravel Artisan General Command: The config:cache Command

The config:cache command can be used to create a cache file for the applications configuration files. This cache file will improve the performance when loading the configuration values. This command will first clear any existing configuration...