John Koster's Avatar

John Koster

@johnmkoster

Doing things with Laravel and Statamic

145
Followers
83
Following
262
Posts
24.10.2024
Joined
Posts Following

Latest posts by John Koster @johnmkoster

Forte is a full HTML+Blade parser and AST manipulation framework (you could build something like Blaze with Forte, for example).

Other use cases: adding new syntax to Blade without regex hell, linters, formatters, throw exceptions if images are missing alt, etc.

Lots of things! ๐Ÿ™‚

10.03.2026 14:24 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

- Technically, yes, but there are many challenges with doing that. Nothing that couldn't be overcome, but non-trivial.

10.03.2026 13:12 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Thank you!

- Chisel is a the next version of my existing prettier-blade-plugin. The feature set of the old versions kind of got out of hand, so this is a more "prettier" than previous versions, running on a TypeScript port of the Forte parser. A PHP formatter is in the works ๐Ÿ™‚

10.03.2026 13:12 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

It's been a grind getting here, and things are just getting started!

Well, back to it then!

09.03.2026 22:31 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

This round of releases also includes Reload, a very experimental hot reload package for Blade.

fortephp.com/docs/reload/...

09.03.2026 22:31 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I've also refreshed the Blade prettier plugin and it is now under the Forte umbrella! A ground up rewrite. Simpler, faster, and more reliable.

fortephp.com/playground

09.03.2026 22:31 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Forte A complete ecosystem for parsing, analyzing, and transforming Laravel Blade templates. Includes AST querying, code rewriting, formatting, and developer tools.

I am happy to announce that Forte v1 is now available! Forte is my new library for parsing and modifying #laravel Blade.

fortephp.com

09.03.2026 22:31 ๐Ÿ‘ 13 ๐Ÿ” 7 ๐Ÿ’ฌ 4 ๐Ÿ“Œ 1

been very, very busy lately.
more soon.

05.03.2026 19:27 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy Monday, everyone!

09.02.2026 18:09 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Working on a new Statamic site this afternoon. Been in a bit of a funk for a while, but feels good to be back and having fun working on things again ๐Ÿ˜Ž

07.02.2026 21:24 ๐Ÿ‘ 3 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Working through cleaning up some things for the first v1 release of Torchlight Engine. Some things coming in this release:

* Upgraded to Phiki 2
* New annotations ๐Ÿ‘€
* Improvements to the annotation parser

Any features you'd like to see as part of this release?

07.02.2026 18:15 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Epic ๐Ÿ”ฅ

29.01.2026 19:19 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy Thursday, everyone! Hope you all crush it today ๐Ÿ”ฅ

29.01.2026 15:42 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy Saturday, everyone!

10.01.2026 20:00 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Thinking through quite a few things this evening. All good things

08.01.2026 02:31 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy Monday, everyone!

Spent most of yesterday sleeping; feeling pretty good today!

05.01.2026 13:59 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy Sunday, everyone!

04.01.2026 17:26 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy new year, Chris!

01.01.2026 17:42 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

The one nice thing about starting the same project over for the 11th time is that the abstractions are starting to feel really good.

31.12.2025 23:22 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Will probably take some downtime for a few days, but next up is focusing on Temper, and then the formatter. ๐Ÿ—ก๏ธ

29.12.2025 00:57 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

* Over 60+ built-in rules, covering HTML, Blade, Alpine and Livewire
* Auto-fixes (you can also specify which rules should never be auto-fixed)
* Parallel processing/linting
* Super configurable
* Configurable reporting
* Supports baselines (w/ change tolerances)

29.12.2025 00:57 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Thanks to a blizzard, I've spent a lot of time today working on Sheath! The core package is now complete and stable

29.12.2025 00:57 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Made a lot of progress on the Forte docs today, Sheath (the Blade linter), Temper (Laravel Blade/View reflection library)

Going to go swap string gauges and enjoy the process of setting up a Floyd Rose

28.12.2025 04:05 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Imagine all the laravel new that can happen now! Glorious!

24.12.2025 20:57 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

Forte rewrite is complete, and a new alpha just dropped. It was a grind, I am tired, but now I can work on the docs and all the other supporting packages and tools ๐Ÿ—ก๏ธ

24.12.2025 05:22 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

This last 10% push on the core Forte library has been stressing me out a bit - but I can see the finish line! ๐Ÿ’…

20.12.2025 19:30 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Still working hard to make it absolutely insane ๐Ÿ’ช

13.12.2025 18:41 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Happy Tuesday, everyone!

09.12.2025 14:42 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Pipe operator is so good ๐Ÿ”ฅ

08.12.2025 21:23 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Going to be looking into improving this aspect - if you have any ideas or wishlist items on this, just let me know!

08.12.2025 19:14 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0