Download the PHP package heimrichhannot/contao-hyphenator without Composer

On this page you can find all versions of the php package heimrichhannot/contao-hyphenator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package contao-hyphenator

Contao Hyphenator

A contao module that grants server-side hyphenation (thanks to org_heigl/hyphenator). It does support headlines and paragraphs by default.

Options

To extend the functionality, all options can be adjusted within your localconfig.

Option Type Default Description
hyphenator_tags string h1,h2,h3,h4,h5,h6,p What type of tags the hyphenator should look at.
hyphenator_wordMin int 10 Words under the given length will not be hyphenated altogether. It makes sense to set option to a higher value than the sum of rightMin and leftMin.
hyphenator_leftMin int 5 How many characters have to be left unhyphenated to the left of the word.
hyphenator_rightMin int 5 How many characters have to be left unhyphenated to the right of the word.
hyphenator_quality int 9 How good shal the hyphenation be. The higher the number the better. THis can be any integer from 0 (no Hyphenation at all) through 9 (best hyphernation).
hyphenator_hyphen string ­ This character shall be used as Hyphen-Character.
hyphenator_filter string Simple A comma-separated list of filters to use for postprocessing the hyphenated text The filters have to extend the Org\Heigl\Filter\Filter-class. The filters can be given by using the Part of the Classname before the “Filter”. So for the SimpleFilter it would suffice to use “Simple” as name of the filter.
hyphenator_tokenizers array array('Whitespace', 'Punctuation') A list of tokenizers to use for splitting the text to be hyphenated into hypheable chunks. The tokenizers have to implement the Org\Heigl\Tokenizer\Tokenizer-interface. The tokenizers can be given by using the Part of the Classname before the “Tokenizer”. So for the WhitespaceTokeinzer it would suffice to use “Whitespace” as name of the tokenizer.
hyphenator_skipPages array empty Array of Contao Page Ids, the Hyphenator should skip from hyphenation.

Requirements


All versions of contao-hyphenator with dependencies

PHP Build Version
Package Version
Requires php Version ~5.4 || ~7.0
contao/core-bundle Version ^3.5.1 || ~4.1
contao-community-alliance/composer-plugin Version ~2.4 || ~3.0
org_heigl/hyphenator Version >=2.0,<3
wa72/htmlpagedom Version ^1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package heimrichhannot/contao-hyphenator contains the following files

Loading the files please wait ....