Disabling file hashes in Vite output can be accomplished by modifying your project's vite.config.js
Learn how to implement a custom component compiler for Laravel's Blade templating language in this post. We will build a custom compiler that transforms custom component syntax into a Livewire component, leveraging new features provided by Volt. Follow along as we set up the Blade precompiler and parse custom Blade component syntax. Get started by grabbing the example code on GitHub, and don't forget to install the necessary dependencies.
Part 5 of 6 covers implementing a cache namespace and labeling system, which we can use to target multiple cache entries simultaneously for invalidation.
Part 4 of 6 covers implementing new features to set arbitrary expiration times from within a template and mechanisms to invalidate all cached responses at once.
Part 6 of 6 covers implementing custom Artisan commands to retrieve information about our cache, invalidating responses returned from Laravel routes and controllers, excluding pages with CSRF tokens, and examples of how to integrate with third-party systems like Torchlight.
Part 3 of 6 covers managing response headers, configuring the custom cache system, and implementing mechanisms to bypass the cache entirely.
Part 2 of 6 covers invalidating cached responses when template changes are detected and detecting request content dependencies, such as entries, taxonomies, and assets.
Part 1 of 6 covers experimenting with various cache systems, techniques, and organization of our custom cache system.
Securing development projects means integrating security at each stage of development. Let's discuss the best practices to secure your development projects.
Learn how to implement a honeypot form mechanism using Laravel. This security measure helps catch bots and automated scripts by adding an inconspicuous form field that human users should leave empty. You can implement the honeypot in two different ways: by creating a custom middleware class or by adding the logic directly to the form's action. Additionally, you can create a custom Blade directive to simplify adding the hidden field to multiple forms.
Wrapping up Forte Phase 0 with the lexer and parser now in private alpha, and kicking off Phase 1 wi...
Read moreA Forte development update: the parser now supports backtracking, improvements to node metadata, ide...
Read moreWrapping up attribute parsing in Forte's HTML parser, from simple HTML attributes to complex, edge-c...
Read moreExploring how Forte's parser extensions can be used to handle complex Blade directives like nested s...
Read moreDigging into parsing Blade and HTML comments while building Forte's HTML parser for Laravel Blade.
Read moreThis week I’m tackling Forte's HTML parser - consolidating Blade, Flux, and Livewire components into...
Read more