Download the PHP package bigoen/mercure-twig-bundle without Composer
On this page you can find all versions of the php package bigoen/mercure-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 mercure-twig-bundle
Mercure Twig Bundle
Developed based on https://github.com/sroze/live-twig package.
Install:
If you don't use Symfony Flex:
.env.local
config/bundles.php
config/packages/bigoen_mercure_twig.yaml
How to use?
-
Configurations:
- Set MERCURE_TWIG_PUBLISH_URL,
- Set subscriber_js in yaml configuration. Default: '@BigoenMercureTwig\subscriber_js.html.twig'
Publisher Example:
Controller Example:
Twig Example:
- Set render controller,
- Set mercure topics,
- Set token is private.
- Set isAdd. Default: 0. 1 = afterbegin, 2 = beforebegin.
All versions of mercure-twig-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
bigoen/mercure-twig Version ^1.0
symfony/framework-bundle Version ^4.0 || ^5.0
bigoen/mercure-twig Version ^1.0
symfony/framework-bundle Version ^4.0 || ^5.0
The package bigoen/mercure-twig-bundle contains the following files
Loading the files please wait ....