Trongate PHP

An exciting PHP framework that challenges the established standards and offers a simple yet effective approach to development.
I have worked with PHP since 2014, and one recurring thing is unnecessary code that needs maintenance. Occam’s razor is clearly visible when all you want is to tear everything out by the roots and start fresh, hoping to build something more simple.
This is where Trongate shines; you get a simple starting point with a solid starting architecture due to everything being divided into modules, including media and JavaScript files.

A criticism that could be made is that internationalization (i18n) hasn’t been considered, and there is actually no real language support. This is true and something I have previously addressed. It’s on the roadmap, and I look forward to seeing how it gets resolved. :)

Another feature that often flies under the radar is callback based validation.
Before I go, I just want to shout out
Trongate MX
A library based on HTMX and in many ways has the same features, just using mx- instead of hx-.
And yet it offers so much more, with close integration, built-in modal support, “optimistic” UI, and more.
My hope with this article is to spark people’s interest and highlight a rough diamond that unfortunately has gained a somewhat bad reputation.
// sasin91, 18.09.2024