{"id":16673290,"url":"https://github.com/senseexception/intl-format","last_synced_at":"2025-03-17T00:31:56.979Z","repository":{"id":55035786,"uuid":"52734880","full_name":"SenseException/intl-format","owner":"SenseException","description":"A wrapper library for PHP to format and internationalize values in messages like sprintf","archived":false,"fork":false,"pushed_at":"2024-09-29T22:06:16.000Z","size":466,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-13T12:25:40.888Z","etag":null,"topics":["formatter","icu","internationalization","intl","intl-format","sprintf","timezone"],"latest_commit_sha":null,"homepage":"http://senseexception.github.io/intl-format","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/SenseException.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-28T17:57:50.000Z","updated_at":"2024-09-29T22:06:20.000Z","dependencies_parsed_at":"2024-07-05T22:31:14.067Z","dependency_job_id":"87df082e-68b8-4de0-b023-80014fffc7a2","html_url":"https://github.com/SenseException/intl-format","commit_stats":{"total_commits":280,"total_committers":4,"mean_commits":70.0,"dds":0.0357142857142857,"last_synced_commit":"2e475dcf888f69417ff98ab0b7f3390ceda82cc7"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseException%2Fintl-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseException%2Fintl-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseException%2Fintl-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseException%2Fintl-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SenseException","download_url":"https://codeload.github.com/SenseException/intl-format/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221669302,"owners_count":16860852,"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":["formatter","icu","internationalization","intl","intl-format","sprintf","timezone"],"created_at":"2024-10-12T12:25:37.162Z","updated_at":"2024-10-27T11:35:06.657Z","avatar_url":"https://github.com/SenseException.png","language":"PHP","readme":"# Intl-Format\nA wrapper library for PHP to format and internationalize values in messages like sprintf\n\n[![Latest Stable Version](https://poser.pugx.org/senseexception/intl-format/v/stable)](https://packagist.org/packages/senseexception/intl-format)\n[![PHP from Packagist](https://img.shields.io/packagist/php-v/senseexception/intl-format.svg)](https://packagist.org/packages/senseexception/intl-format)\n[![Tests](https://github.com/SenseException/intl-format/workflows/Tests/badge.svg)](https://github.com/SenseException/intl-format/actions?query=workflow%3ATests)\n[![Static Analysis](https://github.com/SenseException/intl-format/workflows/Static%20Analysis/badge.svg)](https://github.com/SenseException/intl-format/actions?query=workflow%3A%22Static+Analysis%22)\n[![License](https://poser.pugx.org/senseexception/intl-format/license)](https://packagist.org/packages/senseexception/intl-format)\n\n### Why using this library?\n\nInternationalisation is a very important matter when a PHP project covers more than just one country. Every country has\nits own format for numbers, date or time. The Intl component offers functionality to handle all the formats you need,\nbut not always in a simple way.\n\nThis library formats messages using the Intl component of PHP and offers a sprintf-like API.\n\nExample:\n\n```php\necho $intlFormat-\u003eformat('Today\\'s number is %number', 1000.3);\n// echo \"Today's number is 1'000,3\" in case of locale de_CH\n// echo \"Today's number is 1,000.3\" in case of locale en_US\n```\n\nIt is also easy extensible with your own custom formats.\n\n## Documentation\n\nRead more about this library in the [documentation](http://senseexception.github.io/intl-format).\n\n## Does it affect [GDPR](https://www.eugdpr.org/) somehow?\n\nIntl-Format itself uses the given data (e.g. timezone, locale) only for formatting purposes with the help of the\nPHP Intl extension.\n\n## Installation\n\nYou can install this with [Composer](https://getcomposer.org/).\n\n```\ncomposer require senseexception/intl-format\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenseexception%2Fintl-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenseexception%2Fintl-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenseexception%2Fintl-format/lists"}