Skip to content

Releases: miyagi-dev/twig-laravel

v0.2.3

10 Jan 20:16

Choose a tag to compare

Allows overriding the twig functions defined by this package. This can be done like this:

// miyagi.js

const twigLaravel = require("@miyagi/twig-laravel");
const twig = require("twig");

twig.extendFunction("asset", (asset) => {
	return "what you want";
});

module.exports = {
	engine: {
		engine: twig,
	},
};

v0.2.2

20 Sep 13:44

Choose a tag to compare

Updated php-parser