Showing 10 of 1,090 results.

Laravel Artisan: The Tinker Command

The ability to easily interactive with your application to experiment or debug issues is an incredibly important thing. To help with this, Laravel provides a tinker command out of the box. The tinker command uses the PsySH library to setup a REPL...

Laravel ViewErrorBag Public API: getBag

…stance had set the MessageBag instance before returning it from the getBag method, both $messageCount variables would have contained the value 1 . Another way to retrieve MessageBag instances from the ViewErrorBag instance is dynamically access a...

Laravel 5: Accessing the Cache System With cache

The cache helper function can be used as a convenient way to access the Laravel cache store, retrieve existing items from the cache, and to place new items in the cache. The behavior of the cache helper function is determined by the number and...

Laravel 5: Decrypting Strings With decrypt

The decrypt helper function can be used to decrypt the provided value. The function resolves the configured Illuminate\Contracts\Encryption\Encrypter implementation from the Service Container and then calls the decrypt method on the Encrypter...

Format Options | Formatting CLI

When supplying a options file path to the format utility, the provided JSON file can be configured with the following formatting options: 1 { 2 " htmlOptions " : { } , 3 " formatFrontMatter " : true , 4 " insertSpaces " : true , 5 "...