BSD Ports

www/php-url-highlight 4.0.1 FreeBSD

Find URLs in text and turn them into clickable links

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
17d3ffd636
License
MIT
Categories
www

Description

URL Highlight is a PHP library to find URLs in text and turn them into clickable links. It works with plain text, HTML, and HTML entity encoded input; matches URLs without a scheme by top-level domain, as well as emails, IP hosts, and Unicode; drops trailing punctuation that belongs to the surrounding text; and leaves existing links untouched.

Version history 1

  1. 4.0.1 17d3ffd636

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install php84-url-highlight

From the ports tree:

cd /usr/ports/www/php-url-highlight/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php84-url-highlight>0:www/php-url-highlight

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest----4.0.1
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest4.0.14.0.1n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-4.0.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

USES
php:flavors
Service scripts
none
Flavors
php85-url-highlight-4.0.1, php86-url-highlight-4.0.1

Files

pkg-plist 29
  • share/pear/VStelmakh/UrlHighlight/Format.php
  • share/pear/VStelmakh/UrlHighlight/Highlighter/CallbackHighlighter.php
  • share/pear/VStelmakh/UrlHighlight/Highlighter/Highlighter.php
  • share/pear/VStelmakh/UrlHighlight/Highlighter/SimpleHighlighter.php
  • share/pear/VStelmakh/UrlHighlight/Matcher/Domains/TopLevelDomains.php
  • share/pear/VStelmakh/UrlHighlight/Matcher/Domains/tld_map.php
  • share/pear/VStelmakh/UrlHighlight/Matcher/HostValidator.php
  • share/pear/VStelmakh/UrlHighlight/Matcher/Matcher.php
  • share/pear/VStelmakh/UrlHighlight/Matcher/PunctuationFilter.php
  • share/pear/VStelmakh/UrlHighlight/Matcher/UrlMatch.php
  • share/pear/VStelmakh/UrlHighlight/Matcher/UrlRegex.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Decoder/DecodedString.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Decoder/Decoder.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Extractor/Extractor.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Extractor/Token/CommentToken.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Extractor/Token/PlainToken.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Extractor/Token/TagToken.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Extractor/Token/TagType.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Extractor/Token/Token.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Extractor/Tokenizer.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Replacement.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Replacer.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Strategy/HtmlEncodedStrategy.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Strategy/HtmlStrategy.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Strategy/PlainStrategy.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/Strategy/Strategy.php
  • share/pear/VStelmakh/UrlHighlight/Replacer/StrategyFactory.php
  • share/pear/VStelmakh/UrlHighlight/Url.php
  • share/pear/VStelmakh/UrlHighlight/UrlHighlight.php
distinfo 1
FileSizeSHA256
vstelmakh-url-highlight-4.0.1_GH0.tar.gz23086b570bf944ea0b4a5f9688526e57e28b89f87bfb92777491a755ef1457c2671ff

Commit history 1

DateCommitCreditsLog message
17d3ffd636 Dan Langille www/php-url-highlight: Find URLs in text and turn them into clickable links
URL Highlight is a PHP library to find URLs in text and turn them into clickable links. It works with plain text, HTML, and HTML entity encoded input; matches URLs without a scheme by top-level domain, as well as emails, IP hosts, and Unicode; drops trailing punctuation that belongs to the surrounding text; and leaves existing links untouched.