Showing 7 of 2,041 result(s)
The Blade Parser package can be installed with Composer using the following command: 1 composer require stillat/blade-parserIf you'd like to change, or simply view all of the possible configuration options, you may publish the configuration file....
The class we want to extend is Illuminate\Paginator\Paginator . It has a function named getUrl($page) ; this is responsible for creating the URLs that the paginator uses when rendering the HTML links. Because of this fact, we should figure out a...
We could create a new website targeted at a specific range of topics. There are quite a few start-ups appearing in this area. These are largely commercial projects. I will not point any one out in particular, but the process is fairly...
response($content = '', $status = 200, array $headers = []) The response helper function is a useful function that can be used to accomplish two different tasks. If no arguments are supplied to the response function, an implementation of...
Our hybrid cache system is already quite capable but does present some challenges if we want to use routes or controllers to serve our content. The responses from these routes or controllers will be cached unless we exclude their URL patterns in...
The following examples will demonstrate the various ways to invoke the every method: After the above code has executed, the $allAlphabetic variable would contain the value false . In the following example, we will check to see if all users in the...
The implode method will combine the items of the collection together. The Collection 's implode method behaves differently than PHP's implode function in that it can operate on arrays of primitive data types as well as arrays of objects and...