code-rhapsodie/get-url-contents-ez-twig-bundle
This bundle adds:
get_url_contents Twig functionget_url_contents eZ Publish legacy template operatorBoth share the same behaviour:
Just use Composer:
composer require code-rhapsodie/get-url-contents-ez-twig-bundle
In Twig:
{{ get_url_contents('https://host/my_external_file.html') }}
In eZ Publish legacy templates:
{get_url_contents('https://host/my_external_file.html')}
How can I help you explore Laravel packages today?