{"id":18870408,"url":"https://github.com/sebastiansulinski/smart-quotes","last_synced_at":"2025-10-29T22:13:26.819Z","repository":{"id":27171553,"uuid":"30641197","full_name":"sebastiansulinski/smart-quotes","owner":"sebastiansulinski","description":"Smart quotes replacement toolkit","archived":false,"fork":false,"pushed_at":"2024-07-09T14:46:19.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T04:11:34.108Z","etag":null,"topics":["ascii","php","smart-quotes","utf-8","utf8"],"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/sebastiansulinski.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":"2015-02-11T09:50:08.000Z","updated_at":"2024-07-09T14:45:31.000Z","dependencies_parsed_at":"2022-08-17T17:40:24.998Z","dependency_job_id":null,"html_url":"https://github.com/sebastiansulinski/smart-quotes","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiansulinski%2Fsmart-quotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiansulinski%2Fsmart-quotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiansulinski%2Fsmart-quotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiansulinski%2Fsmart-quotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebastiansulinski","download_url":"https://codeload.github.com/sebastiansulinski/smart-quotes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248453781,"owners_count":21106336,"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","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":["ascii","php","smart-quotes","utf-8","utf8"],"created_at":"2024-11-08T05:20:03.604Z","updated_at":"2025-10-29T22:13:26.736Z","avatar_url":"https://github.com/sebastiansulinski.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart quotes replacement toolkit\n\nThe kit replaces all irregular - Microsoft version single and double quotes to simple - ASCII type ones.\n\n## Requirements\n\nStarting from version 1.3.0 package requires PHP 7.1 or higher. Please use version 1.2.0 for PHP 7.0 or 1.0.5 for earlier versions.\n\n## Usage example\n\nThere are two implementations - one, which converts quotes and returns content as UTF-8\nand the other which does the same, but returns it as ASCII - with the exception of a pound symbol (£),\nwhich is also returned correctly.\n\n```\nuse SSD\\SmartQuotes\\Utf8CharacterSet;\nuse SSD\\SmartQuotes\\Factory as SmartQuotesFactory;\n\n$string = \"“Contrary to ‘popular belief’, Lorem Ipsum is not simply ‘random text’. The cost in Sterling is £20.00”\";\n\n// UTF-8 implementation\necho SmartQuotesFactory::filter(new Utf8CharacterSet, $string);\n\n// ASCII implementation\necho SmartQuotesFactory::filter(new AsciiCharacterSet, $string);\n\n// both return:\n// \"Contrary to 'popular belief', Lorem Ipsum is not simply 'random text'. The cost in Sterling is £20.00\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiansulinski%2Fsmart-quotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastiansulinski%2Fsmart-quotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiansulinski%2Fsmart-quotes/lists"}