Download the PHP package code-rhapsodie/get-url-contents-ez-twig-bundle without Composer
On this page you can find all versions of the php package code-rhapsodie/get-url-contents-ez-twig-bundle. 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 get-url-contents-ez-twig-bundle
Get Url Contents eZ Twig Bundle
This bundle adds:
- a
get_url_contents
Twig function - a
get_url_contents
eZ Publish legacy template operator
Both share the same behaviour:
- perform a GET HTTP request to the URL passed as argument, using curl
- then, if the request succeeded and the response code is 200, return the response body as string
- otherwise, return an empty string
Install
Just use Composer:
composer require code-rhapsodie/get-url-contents-ez-twig-bundle
Usage
In Twig:
In eZ Publish legacy templates:
All versions of get-url-contents-ez-twig-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0
ext-curl Version *
symfony/dependency-injection Version ^3.4||^4.0||^5.0
symfony/twig-bundle Version ^3.4||^4.0||^5.0
ext-curl Version *
symfony/dependency-injection Version ^3.4||^4.0||^5.0
symfony/twig-bundle Version ^3.4||^4.0||^5.0
The package code-rhapsodie/get-url-contents-ez-twig-bundle contains the following files
Loading the files please wait ....