gregwar/rst
gregwar/rst adds reStructuredText parsing to PHP. Convert .rst documents into HTML (and other formats), with a simple API and CLI-friendly usage. Useful for documentation sites, static content, and integrating RST into Laravel or custom apps.
composer require gregwar/rst), create a service class (e.g., App\Services\RstRenderer) for DI, and implement caching for parsed HTML/AST. Pre-process static RST content during build pipelines for static sites; for dynamic use cases, cache ASTs via Document::serialize().{{ }} or e() helper) to prevent XSS. Whitespace-sensitive RST syntax may break if content isn't validated.DirectiveInterface. Phase 4: Scale via caching for high-traffic endpoints.How can I help you explore Laravel packages today?