Showing 10 of 1,322 results.

VS Code Prettier Troubleshooting | Prettier Plugin Installation

…se, you may need to update your VS Code configuration and inform Prettier about the Blade file extension. The simplest way to do this is to update your user JSON configuration file and ensure it has the following settings: 1 { 2 " [blade] " : { 3...

Laravel Collection Public API: last

…of the first method, and is used to get the last item in a collection, or to get the last item in a collection that matches a certain criteria. A $callback can be supplied to return the last item in the collection that matches a given truth test....

Best Practices for Securing Your Development Projects

In today's technology-driven world, data breaches and cyberattacks are increasing dramatically. According to CheckPoint Research, cybercrimes increased by 38% in 2022 as compared to the previous year. Therefore, it's important for developers to...

Laravel Array Helper Function: array_dot

The dot helper method will take a multi-dimensional array and return a new associative array where the keys are built from all the nested keys, separated with the . character. The signature for the dot helper method is: dot($array, $prepend = '')...

Laravel Router Helper Function: resource

…s a shortcut that is used to register a resource controller with the router. It accepts the $name of the route to create, the name of the $controller and an array of $options that should be used when constructing the routes. Internally, there...

Advanced Reply Forms

This article assumes that you have read through the Reply Forms article and already have a custom reply form that you want to extend further with JavaScript. You can hook into Meerkat's reply-to functionality by modifying the MeerkatReply window...

Filter Search