A Forte development update: the parser now supports backtracking, improvements to node metadata, identifiers, and improvements to mixed Blade/HTML parsing.
Wrapping up attribute parsing in Forte's HTML parser, from simple HTML attributes to complex, edge-case scenarios.
Exploring how Forte's parser extensions can be used to handle complex Blade directives like nested switch statements with a cleaner, more flexible, and easily extendable approach.
Digging into parsing Blade and HTML comments while building Forte's HTML parser for Laravel Blade.
This week I’m tackling Forte's HTML parser - consolidating Blade, Flux, and Livewire components into one flexible system. Here's what’s working (and what's next).
Recapping Laracon in Denver with the Statamic team, this post introduces Forte - a new Blade extensibility framework designed to simplify parsing and empower Laravel developers
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.
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.
Discover the journey behind "Laravel Artisan: An In Depth Coverage of Laravel Features." Find out why the project was eventually converted into free blog posts on the website. Explore the author's other projects and the motivation behind the switch to a new site. Don't miss the free resource, "Laravel Companion: A Guide to Helpers, Collections And More."
Learn how to execute Artisan commands from within other Artisan commands in Laravel. Use the call and callSilent methods to call other commands and return the exit code. Pass arguments and options to the called commands using arrays. Output from called commands can be hidden by using the callSilent method. Commands can also be called from other locations within the application's code base by injecting the console kernel or using the Artisan facade. Operating system calls can be made using Symfony's Process component, which is already available in Laravel. Handle process output by supplying a callback function to the process's run method.
A 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 moreRecapping Laracon in Denver with the Statamic team, this post introduces Forte - a new Blade extensi...
Read more