Showing 10 of 2,044 results.

Laravel MessageBag Public API: keys

The keys method is used to retrieve all of keys stored inside the MessageBag instance. The following code example demonstrate the usage of the keys method: 1 <?php 2 3 use Illuminate \ Support \ MessageBag ; 4 5 // Create a new MessageBag...

Laravel 5.5 String Helper Function: ascii

The ascii helper method accepts only one argument: $value . $value should always be a string, or something that can be cast into a string. The function converts a string in the UTF-8 encoding into its ASCII equivalent. This method is useful when...

Laravel Artisan Queue Command: The queue:work Command

…on, and not process the jobs one at a time. When running in daemon mode (using the --daemon flag, it is important to note that each daemon has to be restarted when pushing code changes. See the section on the queue:restart command for information...

HTML Rendering Setup | Introduction & Installation

If you intend to use the provided Browershot, you will also need to ensure that Puppeteer is installed and configured on your system. For more information on how to do this, please consult the Browsershot documentation at...

Laravel 5: Returning In-line Access to a Variable With with

The with is a useful utility function that can be used to simply return the provided values back to the caller. This can be used as an entry point for method chaining without the need to create temporary local variables. It is also possible to...

Laravel Artisan Tinker: The doc Command

The doc command can be used to view the documentation for an object, class, constant, method, function or property. It can accept either the function, method, class, etc name or a reference to an instance's methods as its arguments. Because of...

The Laravel Translator

…terface , which is an instance of Illuminate\Translation\FileLoader by default. The Translator exposes numerous functions in its public API. The Translator class implements Symfony's Symfony\Component\Translation\TranslatorInterface interface so...