machy8 / macdom-bundle
Macdom HTML Preprocessor bundle for Symfony framework.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0
- machy8/macdom: ^3.0
- machy8/xhtml-formatter: ^1.0
This package is auto-updated.
Last update: 2024-10-11 14:57:23 UTC
README
Macdom HTML Preprocessor bundle for Symfony Framework.
Installation
composer require machy8/macdom-bundle
Usage
use Macdom\Engine; /** * @Route("/", name="homepage") */ public function homepage(Engine $macdom) : Response { return new Response($macdom->compile('h1 Hello World!')); }