PHPackages                             luwes/craft3-inline - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. luwes/craft3-inline

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

luwes/craft3-inline
===================

Inline the contents of a file in a twig template.

05.6kPHPCI failing

Since Aug 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/luwes/craft3-inline)[ Packagist](https://packagist.org/packages/luwes/craft3-inline)[ RSS](/packages/luwes-craft3-inline/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Inline plugin for Craft CMS 3.x
===============================

[](#inline-plugin-for-craft-cms-3x)

Inline the contents of a file in a twig template.

Installation
------------

[](#installation)

To install Inline, follow these steps:

1. Install with Composer via `composer require luwes/craft3-inline`
2. Install plugin in the Craft Control Panel under Settings &gt; Plugins

Inline works on Craft 3.x.

Inline Overview
---------------

[](#inline-overview)

Internally uses the PHP function `file_get_contents`.

Using Inline
------------

[](#using-inline)

`{{ inline(assetsUrl ~ '/images/logo.svg') | raw }}`

Inline Roadmap
--------------

[](#inline-roadmap)

Some things to do, and ideas for potential features:

- Release it

Brought to you by [Wesley Luyten](https://wesleyluyten.com)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb265b8c67e122173ba16b6ba98a4ccf2e92d0c9ef0f7a361b6aed57a799c428?d=identicon)[luwes](/maintainers/luwes)

---

Top Contributors

[![brandonkelly](https://avatars.githubusercontent.com/u/47792?v=4)](https://github.com/brandonkelly "brandonkelly (2 commits)")

### Embed Badge

![Health badge](/badges/luwes-craft3-inline/health.svg)

```
[![Health](https://phpackages.com/badges/luwes-craft3-inline/health.svg)](https://phpackages.com/packages/luwes-craft3-inline)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
