Download the PHP package netinfluence/secure-display-bundle without Composer
On this page you can find all versions of the php package netinfluence/secure-display-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netinfluence/secure-display-bundle
More information about netinfluence/secure-display-bundle
Files in netinfluence/secure-display-bundle
Package secure-display-bundle
Short Description NetinfluenceSecureDisplayBundle is a small simple bundle which protect emails and phone numbers behine encryption and JavaScript
License MIT
Informations about the package secure-display-bundle
SecureDisplayBundle
NetinfluenceSecureDisplayBundle is a small simple bundle which protect emails, phone numbers and any text you want from spam bot, by using encryption, ajax and JavaScript.
Requirements
Before installing this bundle, you need to have a working installation of FOSJsRoutingBundle.
Version 1.x is compatible with Symfony 2 (2.3 - 2.8), version 2.x are compatible with Symfony 2.8, 3.x and 4.x
Code is tested on PHP 5.6 and PHP 7.0 to PHP 7.3
Installation
Step 1: Composer
First you need to add netinfluence/secure-display-bundle
to composer.json
:
note: replace dev-master
with the last version of this bundle.
Step 2: AppKernel
Register the bundle into the Symfony AppKernel
Step 3: Config
Define the configuration of the bundle into the config file
Step 4: Routing
Register the routing of the bundle to be able to perform ajax requests
Step 5: Assets
Publish the assets to be able to use the javascript file
Add this line in your layout:
Declaration
parameters
- label: optional
- type: string
- value: text to display if the javascript is not enabled
- action: optional
- type: string
- value: action to append before the link (like "tel:012 345 67" or "mailto:[email protected]")
- attributes: optional
- type: array
- value: html attributes to add to the text
Usage
Of course, you can mix any of these tree parameters as you want.
All versions of secure-display-bundle with dependencies
symfony/framework-bundle Version ~2.7|~3.0|~4.0
twig/twig Version ~1.0|~2.0
friendsofsymfony/jsrouting-bundle Version ~1.5|~2.0