{"id":33997582,"url":"https://github.com/vria/nodiacritic-bundle","last_synced_at":"2025-12-13T08:59:10.086Z","repository":{"id":62545462,"uuid":"56230072","full_name":"vria/nodiacritic-bundle","owner":"vria","description":"The symfony integration for nodiacritic library","archived":false,"fork":false,"pushed_at":"2016-09-18T21:12:46.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T23:49:07.847Z","etag":null,"topics":["php","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"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/vria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-14T10:56:20.000Z","updated_at":"2019-09-27T15:51:26.000Z","dependencies_parsed_at":"2022-11-02T22:01:08.697Z","dependency_job_id":null,"html_url":"https://github.com/vria/nodiacritic-bundle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vria/nodiacritic-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vria%2Fnodiacritic-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vria%2Fnodiacritic-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vria%2Fnodiacritic-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vria%2Fnodiacritic-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vria","download_url":"https://codeload.github.com/vria/nodiacritic-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vria%2Fnodiacritic-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27702869,"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-12-13T02:00:09.769Z","response_time":147,"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-bundle"],"created_at":"2025-12-13T08:59:09.572Z","updated_at":"2025-12-13T08:59:10.077Z","avatar_url":"https://github.com/vria.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"VRiaNoDiacriticBundle\n=============\n\n[![Build Status](https://travis-ci.org/vria/nodiacritic-bundle.svg?branch=master)](https://travis-ci.org/vria/nodiacritic-bundle)\n\nThe symfony integration for [nodiacritic library](https://github.com/vria/nodiacritic) - tiny library that removes all diacritical signs from characters.\n\n\n##Installation\n\nUsing [Composer](http://packagist.org), run:\n```sh\ncomposer require vria/nodiacritic-bundle\n```\n\nAdd the VRiaNoDiacriticBundle to your application kernel:\n\n```php\n// app/AppKernel.php\npublic function registerBundles()\n{\n    return array(\n        // ...\n        new VRia\\Bundle\\NoDiacriticBundle\\VRiaNoDiacriticBundle(),\n        // ...\n    );\n}\n```\n\n##Use\n\nIn controller:\n\n```php\n$noDiacriticString = NoDiacritic::filter(\"Révolution française\");\n```\n\nIn Twig template:\n\n```twig\n{{ \"Révolution française\"|nodiacritic }}\n```\n\nAs expected, the result is `Revolution francaise`.\n\nAs you can see [nodiacritic library](https://github.com/vria/nodiacritic) is aware of German and Danish\nparticularities, and so is this integration. The bunble reads current locale from `Request` and pass it to `filter` function.\nIn case the desired locale is different you can pass it as a parameter:\n\n```twig\nCeci est une phrase allemande sans caractères spéciaux: {{ \"Schöne straße\"|nodiacritic(\"de\") }}\n```\n\nwill print `Ceci est une phrase allemande sans caractères spéciaux: Schoene strasse`.\n\nYou can find the article about the library in [my blog](https://vria.eu/news/2016/4/24/library-and-symfony-bundle-to-remove-diacritic-signs-form-strings).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvria%2Fnodiacritic-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvria%2Fnodiacritic-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvria%2Fnodiacritic-bundle/lists"}