Showing 7 of 1,697 result(s)
Now that we have the first three methods implemented, we need to finish a few more: the getDots and render method. The getDots method is responsible for rendering the ellipsis when there is a lot of links. For the Semantic paginator, we are going...
This article is part of a four part series all about Laravel facades. Each of the parts are listed below: Laravel Facades Part One: An Introduction to Facades, Laravel Facades Part Two: Using Facades, ., Laravel Facades Part Three: Creating Custom...
In this article we will create an implementation of Illuminate\Contracts\Hashing\Hasher using PHP's crypt function and the CRYPT_MD5 hashing function. Like in the previous sections, we will examine each method before looking at the full...
While it is simple to create custom Artisan commands there are other times where it may be necessary to customize the core console application further. The Artisan console application ( Illuminate\Console\Application ) extends Symfony's console...
The broadcast helper function is similar in function to the event helper function in that, if an event implements the "Illuminate\Contracts\Broadcasting\ShouldBroadcast" interface, it will dispatch the event to all server-side listeners and notify...
After the previous section, our parser can now extract a single input filter from the input string. Let's update the input.txt with the following value: where(name, =, value)|is:published(true) We will add a new condition to our parser that checks...
Antlers and Blade can be challenging languages to format and produce acceptable results. Let us take a look at this unformatted Blade example: compared to its formatted version: In that example we have the following languages mixed together: HTML,...