Download the PHP package tlm/readfile-filter without Composer
On this page you can find all versions of the php package tlm/readfile-filter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package readfile-filter
Readfile Filter plugin for Craft CMS 3.x
Exposes readfile() to twig template filter. Allows to display PDF files directly in the browser, obfuscating the real file path. Files of other types than PDF will download automatically.
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require tlm/readfile-filter - In the Control Panel, go to Settings → Plugins and click the “Install” button for Readfile.
Using Readfile in your templates
{{ asset.one().url | readfile }}
All versions of readfile-filter with dependencies
PHP Build Version
Package Version
Requires
craftcms/cms Version
^3.0.0
The package tlm/readfile-filter contains the following files
Loading the files please wait ...