What Herbie Is Built On
Herbie relies on battle-tested libraries:
- Markdown, reStructuredText, and Textile for page content formatting
- Twig as the template engine for layouts and core extensibility
- YAML and JSON for structured data
- Composer and Packagist for dependency and plugin management
Its plugin system makes Herbie highly extensible, with built-in support for:
- Application and route middlewares
- Event listeners
- Custom Twig filters, functions, tests, and globals
- Console commands
Herbie follows the PHP-FIG standards:
- PSR-3 Logger Interface
- PSR-4 Autoloading Standard
- PSR-7 HTTP Message Interface
- PSR-11 Container Interface
- PSR-14 Event Dispatcher
- PSR-15 HTTP Handlers
- PSR-16 Simple Cache
- PSR-17 HTTP Factories
- PER-CS 3.0 Coding Style
Quality is ensured through:
- Unit, integration, and acceptance testing with Codeception
- Static analysis with PHPStan
- Automated code style enforcement with PHP-CS-Fixer
Supported PHP Versions
8.3 / 8.4 / 8.5