fond-of-spryker/file-get-content

n/a

Installs: 7 741

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

pkg:composer/fond-of-spryker/file-get-content

0.1.1 2018-11-23 14:56 UTC

This package is auto-updated.

Last update: 2025-09-11 21:22:15 UTC


README

license

Simple wrapper for using PHP file_get_contents() in twig. As example needed for inline SVG graphics

Install

composer require fond-of-spryker/discount-widget

Configuration

Register the new provider in your YvesBootstrap

$this->application->register(new FileGetContentServiceProvider());

Using the new fileGetContent function inside TWIG:

{{ fileGetContent(fileUrl) }}