Developer Guide
So, you want to see how the sausage is made? You've come to the right place.
This isn't the "How do I write a blog post?" section. This is the "How do I bend StaticForge to my will?" section. Here, we pop the hood, void the warranty, and show you exactly how this machine works.
The Blueprint
If you want to hack on the core or build your own plugins (Features), start here.
-
Architecture The big picture. How does a request become a static HTML file? It's not magic; it's a pipeline.
-
The Technology Stack The giants whose shoulders we stand on. PHP 8.4, Symfony Console, Twig, and more.
-
Bootstrap & Initialization The "Ignition Sequence." What actually happens when you type
bin/staticforge? -
Events The nervous system of StaticForge. If you want to change behavior, you need to know which synapse to zap.
Extending the System
-
Feature Development Don't fork the core. Build a Feature. It's the plugin system that powers everything.
-
Asset Manager The "Traffic Cop" for your CSS and JS. Stop worrying about dependency order.
The Frontend
-
Template Development How to make it pretty. Twig, inheritance, and the "Master Slide" concept.
-
Building Templates with AI Because writing HTML by hand is so 2010. Let the robots do the heavy lifting.