{"id":18766179,"url":"https://github.com/gnugat/redaktilo-bundle","last_synced_at":"2026-04-06T06:01:31.365Z","repository":{"id":22401899,"uuid":"25739077","full_name":"gnugat/redaktilo-bundle","owner":"gnugat","description":"[maintained] Integrating Redaktilo into Symfony","archived":false,"fork":false,"pushed_at":"2015-12-01T17:48:45.000Z","size":19,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T07:58:01.329Z","etag":null,"topics":["php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnugat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-25T17:02:57.000Z","updated_at":"2023-11-28T15:15:13.000Z","dependencies_parsed_at":"2022-08-21T04:30:18.107Z","dependency_job_id":null,"html_url":"https://github.com/gnugat/redaktilo-bundle","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/gnugat/redaktilo-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnugat%2Fredaktilo-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnugat%2Fredaktilo-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnugat%2Fredaktilo-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnugat%2Fredaktilo-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnugat","download_url":"https://codeload.github.com/gnugat/redaktilo-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnugat%2Fredaktilo-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267312260,"owners_count":24067776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","symfony","symfony-bundle"],"created_at":"2024-11-07T18:39:14.879Z","updated_at":"2026-04-06T06:01:31.304Z","avatar_url":"https://github.com/gnugat.png","language":"PHP","funding_links":[],"categories":["Development"],"sub_categories":[],"readme":"# Redaktilo Bundle\n\nProvides the following services from [Redaktilo](http://github.com/gnugat/redaktilo)\nin a [Symfony2](http://symfony.com) application:\n\n* `redaktilo.editor`: an instance of [`Gnugat\\Redaktilo\\Editor`](http://github.com/gnugat/redaktilo/tree/master/src/Gnugat/Redaktilo/Editor.php)\n\nDocumentation:\n\n* [Extending](#extending)\n* [Installation](#installation)\n* [Usage with Symfony2 DependencyInjection Component standalone](#usage-with-symfony2-dependencyinjection-component-standalone)\n* [Further documentation](#further-documentation)\n\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/57bf6bda-fec9-405d-8e73-ff1ecbeba868/mini.png)](https://insight.sensiolabs.com/projects/57bf6bda-fec9-405d-8e73-ff1ecbeba868)\n[![Travis CI](https://travis-ci.org/gnugat/redaktilo-bundle.png)](https://travis-ci.org/gnugat/redaktilo-bundle)\n\n## Extending\n\nYou can also [extend](http://github.com/gnugat/redaktilo/tree/master/doc/05-extending.md)\nRedaktilo by creating new [`SearchStrategy`](http://github.com/gnugat/redaktilo/tree/master/src/Gnugat/Redaktilo/Search/SearchStrategy.php)\nand new [`Command`](http://github.com/gnugat/redaktilo/tree/master/src/Gnugat/Redaktilo/Command/Command.php).\n\nTo make your custom `Command` and `SearchStrategy` available, simply define them\nas services in your Symfony2 application and tag them:\n\n```yaml\nservices:\n    acme_redaktilo.custom_command:\n        class: Acme\\RedaktiloBundle\\Command\\CustomCommand\n        tags:\n            - { name: redaktilo.command }\n\n    acme_redaktilo.custom_search_strategy:\n        class: Acme\\RedaktiloBundle\\Search\\SearchStrategy\n        tags:\n            - { name: redaktilo.search_strategy, priority: 20 }\n```\n\n\u003e **Note**: `SearchStrategy`'s priority is optionnal (defaults to 0).\n\u003e The higher the priority is, the sooner `SearchEngine` will check if the\n\u003e `SearchStrategy` supports the given pattern.\n\n## Installation\n\nUse [Composer](http://getcomposer.com) to install the bundle:\n\n    composer require gnugat/redaktilo-bundle:^1.0\n\nThen register the bundle in you kernel. For example:\n\n```php\n\u003c?php\n// File: app/AppKernel.php\n\nuse Symfony\\Component\\HttpKernel\\Kernel;\nuse Symfony\\Component\\Config\\Loader\\LoaderInterface;\n\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        return array(\n            new Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle(),\n            new Gnugat\\RedaktiloBundle\\GnugatRedaktiloBundle(),\n        );\n    }\n\n    public function registerContainerConfiguration(LoaderInterface $loader)\n    {\n        $loader-\u003eload(__DIR__.'/config/config_'.$this-\u003egetEnvironment().'.yml');\n    }\n}\n```\n\n## Usage with Symfony2 DependencyInjection Component standalone\n\nIf you're not using the full stack framework, but rather just the Symfony2\nDependencyInjection Component, you can still use this bundle:\n\n```php\n\u003c?php\n\nuse Gnugat\\RedaktiloBundle\\DependencyInjection\\CommandCompilerPass;\nuse Gnugat\\RedaktiloBundle\\DependencyInjection\\SearchStrategyCompilerPass;\nuse Symfony\\Component\\Config\\FileLocator;\nuse Symfony\\Component\\DependencyInjection\\ContainerBuilder;\nuse Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader;\nuse Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension;\n\n$container = new ContainerBuilder();\n$fileLocator = new FileLocator(__DIR__.'/vendor/gnugat/redaktilo/Resources/config');\n$loader = new YamlFileLoader($container, $fileLocator);\n\n$loader-\u003eload('services.yml');\n$container-\u003eaddCompilerPass(new SearchStrategyCompilerPass());\n$container-\u003eaddCompilerPass(new CommandCompilerPass());\n```\n\n## Further documentation\n\nYou can see the current and past versions using one of the following:\n\n* the `git tag` command\n* the [releases page on Github](https://github.com/gnugat/redaktilo/releases)\n* the file listing the [changes between versions](CHANGELOG.md)\n\nYou can find more documentation at the following links:\n\n* [copyright and MIT license](LICENSE)\n* [versioning and branching models](VERSIONING.md)\n* [contribution instructions](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnugat%2Fredaktilo-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnugat%2Fredaktilo-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnugat%2Fredaktilo-bundle/lists"}