2017 © Pedro PelĆ”ez
 

symfony-bundle redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

image

gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  • Tuesday, December 1, 2015
  • by gnupat
  • Repository
  • 2 Watchers
  • 6 Stars
  • 204 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Redaktilo Bundle

Provides the following services from Redaktilo in a Symfony2 application:, (*1)

Documentation:, (*2)

SensioLabsInsight Travis CI, (*3)

Extending

You can also extend Redaktilo by creating new SearchStrategy and new Command., (*4)

To make your custom Command and SearchStrategy available, simply define them as services in your Symfony2 application and tag them:, (*5)

services:
    acme_redaktilo.custom_command:
        class: Acme\RedaktiloBundle\Command\CustomCommand
        tags:
            - { name: redaktilo.command }

    acme_redaktilo.custom_search_strategy:
        class: Acme\RedaktiloBundle\Search\SearchStrategy
        tags:
            - { name: redaktilo.search_strategy, priority: 20 }

Note: SearchStrategy's priority is optionnal (defaults to 0). The higher the priority is, the sooner SearchEngine will check if the SearchStrategy supports the given pattern., (*6)

Installation

Use Composer to install the bundle:, (*7)

composer require gnugat/redaktilo-bundle:^1.0

Then register the bundle in you kernel. For example:, (*8)

<?php
// File: app/AppKernel.php

use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        return array(
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
            new Gnugat\RedaktiloBundle\GnugatRedaktiloBundle(),
        );
    }

    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
    }
}

Usage with Symfony2 DependencyInjection Component standalone

If you're not using the full stack framework, but rather just the Symfony2 DependencyInjection Component, you can still use this bundle:, (*9)

<?php

use Gnugat\RedaktiloBundle\DependencyInjection\CommandCompilerPass;
use Gnugat\RedaktiloBundle\DependencyInjection\SearchStrategyCompilerPass;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

$container = new ContainerBuilder();
$fileLocator = new FileLocator(__DIR__.'/vendor/gnugat/redaktilo/Resources/config');
$loader = new YamlFileLoader($container, $fileLocator);

$loader->load('services.yml');
$container->addCompilerPass(new SearchStrategyCompilerPass());
$container->addCompilerPass(new CommandCompilerPass());

Further documentation

You can see the current and past versions using one of the following:, (*10)

You can find more documentation at the following links:, (*11)

The Versions

01/12 2015
12/01 2015

v1.5.0

1.5.0.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo

12/01 2015

v1.4.1

1.4.1.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo

12/01 2015

v1.4.0

1.4.0.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo

05/12 2014

v1.3.1

1.3.1.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo

29/11 2014

v1.3.0

1.3.0.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo

17/11 2014

v1.2.0

1.2.0.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo

04/11 2014

v1.1.0

1.1.0.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo

25/10 2014

v1.0.0

1.0.0.0 https://github.com/gnugat/redaktilo-bundle

Provides Redaktilo's Editor and TextFactory as services

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony editor line insert replace remove redaktilo