2017 © Pedro Peláez
 

library link-email-highlighter

image

nexuslinkservices/link-email-highlighter

  • Monday, August 22, 2016
  • by nexuslinkservices
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

HOW TO USE - GUIDE:

Define below described properties to highlight inside the file and set their values to true/false as per your need, (*1)

Latest Version Software License Scrutinizer Code Quality Build Status, (*2)

i.e.: I want to highlight only links in my content, so I need to define following variables in my configuration yaml file., (*3)

highlighting_enabled:
    link: true
    mail: false
Note(s): 
1. If configuration yaml is not there in your project then the default configuration will be taken into consideration.
2. The bundle uses symfony yaml component to parse the yaml configuration.

Following is the reference code to make it working,, (*4)

/**
 * CODE
 * create a new object of HighLighter class
 */

$highLighter = new HighLighter($pathToYaml);  //$pathToYaml is optional as mentioned earlier
$highLightedContent = $highLighter->HighLight($contentToBeHighlighted);

That's it with the bundle., (*5)

CONTRIBUTING:

Pull requests are always welcome., (*6)

The Versions

22/08 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.6.2

 

The Development Requires

by Nexuslink Services

19/08 2016

v1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

  • php >=5.6.2

 

The Development Requires

by Nexuslink Services

19/08 2016

v1.1.0

1.1.0.0

  Sources   Download

MIT

The Requires

  • php >=5.6.2

 

The Development Requires

by Nexuslink Services