jmf/twig-inline

Twig extension for inlining files in Twig templates.

Installs: 109

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jmf/twig-inline

1.0.0 2024-06-05 13:32 UTC

This package is auto-updated.

Last update: 2025-10-05 16:35:00 UTC


README

Installation & Requirements

Install with Composer:

composer require jmf/twig-inline

Configuration

A base path must be defined in order to locate inlinable files, and prevent inlining of unwanted files.

Usage in Twig templates

inline() function

<style>{{ inline('style.css') }}</style>