2017 © Pedro Peláez
 

symfony-bundle highlight-bundle

A port of highlight.js by Ivan Sagalaev to PHP

image

carteni/highlight-bundle

A port of highlight.js by Ivan Sagalaev to PHP

  • Friday, June 9, 2017
  • by carteni
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

, (*1)

MesHighlightBundle is based on scrivo/highlight.php library, a port of highlight.js by Ivan Sagalaev to PHP., (*2)

SensioLabsInsight Build Status Scrutinizer Code Quality Code Coverage Latest Unstable Version Latest Stable Version License, (*3)

Step 1: Download the Bundle

$ composer require carteni/highlight-bundle

Step 2: Enable the Bundle

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new \Mes\Misc\HighlightBundle\MesHighlightBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Install styles

$ bin/console assets:install --symlink

Step 4: Configure the Bundle (optional)

mes_highlight:
    supported_languages: ["php", "xml", "twig", "javascript", "sql", "json"]
    root_path: "%kernel.root_dir%/Resources/"
    left_delimiter: "{{"
    right_delimiter: "}}"

Examples

See the Documentation, (*4)

License

This bundle is under the MIT license. See the complete license in the bundle, (*5)

Reporting an issue

Issues are tracked in the Github issue tracker., (*6)

Enjoy!

♥ ☕ m|e|s

The Versions

09/06 2017

1.x-dev

1.9999999.9999999.9999999-dev

A port of highlight.js by Ivan Sagalaev to PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Cartenì

09/06 2017

dev-master

9999999-dev

A port of highlight.js by Ivan Sagalaev to PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Cartenì

09/06 2017

v1.1.2

1.1.2.0

A port of highlight.js by Ivan Sagalaev to PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Cartenì

12/05 2017

v1.1.1

1.1.1.0

A port of highlight.js by Ivan Sagalaev to PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Cartenì

10/05 2017

v1.1.0

1.1.0.0

A port of highlight.js by Ivan Sagalaev to PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Cartenì

10/05 2017

v1.0.0

1.0.0.0

A port of highlight.js by Ivan Sagalaev to PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Cartenì