Showing 7 of 1,216 result(s)
…ager to send them when serving cached content. In app/HybridCache/Manager.php : Out of all the changes, how we handle the date header is the most interesting. We are utilizing PHP's gmdate function to construct a value matching the string value...
The Artisan Command Line Environment (CLI) is a terminal based application that can be used to ease development with Laravel. Artisan ships with many commands by default as well as exposes APIs to create your own custom commands. Many of the...
The document parser diverges from the core Laravel Blade parser in a few areas. These differences make it easier to consume the compiled templates directly or develop tooling to detect invalid PHP output.
…rser\Parser\DocumentParser ; 4 5 $parser = new DocumentParser ; 6 7 // Specify the custom directive names. 8 $parser -> setDirectiveNames ([ 9 'disk' , 10 'elsedisk' , 11 'enddisk' 12 ]); Alternatively, we can retrieve all custom directives...
…le contains a sensible default list of file and directory patterns that will be ignored by git. The composer.json file contains the minimum information Composer requires to autoload our custom package, and some extra information to help Statamic...
…our disk space. These requests will bypass the cache system and consume resources, but at that point, we could look into other ways to limit resource consumption, such as rate limiting. The second limitation is that if the markup of a page...
The make method is responsible for doing the actual hashing. It also accepts an $options array. We will allow a salt to be supplied to the options array. If no salt is supplied, we will generate one for the user. We will also accept a rounds...
The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.