machy8/macdom-bundle

Macdom HTML Preprocessor bundle for Symfony framework.

Maintainers

Package info

github.com/Machy8/macdom-bundle

Type:symfony-bundle

pkg:composer/machy8/macdom-bundle

Statistics

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.0 2018-02-01 20:24 UTC

This package is auto-updated.

Last update: 2026-03-11 18:48:25 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!'));
}