{"id":22092101,"url":"https://github.com/krakphp/money-normalizer","last_synced_at":"2025-03-23T23:44:52.930Z","repository":{"id":45680127,"uuid":"153707808","full_name":"krakphp/money-normalizer","owner":"krakphp","description":"Money Normalizer","archived":false,"fork":false,"pushed_at":"2023-03-01T13:57:09.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T06:52:19.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krakphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-10-19T01:12:11.000Z","updated_at":"2023-03-01T13:55:43.000Z","dependencies_parsed_at":"2024-11-16T13:12:53.270Z","dependency_job_id":"2a4b6da6-37cc-4517-9dd4-fd3f77604e8d","html_url":"https://github.com/krakphp/money-normalizer","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"227b6763dfe7a09e2df592f216856c6fcf1db82c"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fmoney-normalizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fmoney-normalizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fmoney-normalizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krakphp%2Fmoney-normalizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krakphp","download_url":"https://codeload.github.com/krakphp/money-normalizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186923,"owners_count":20574554,"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":[],"created_at":"2024-12-01T03:08:19.818Z","updated_at":"2025-03-23T23:44:52.908Z","avatar_url":"https://github.com/krakphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Money Normalizer\n\nThis contains a Symfony Denormalizer for the `moneyphp/money` `Money\\Money` class.\n\n## Installation\n\nInstall with composer at `krak/money-normalizer`.\n\n## Usage\n\n## MoneyDenormalizer\n\n```php\n$denormalizer = new Krak\\MoneyNormalizer\\MoneyDenormalizer();\n$money = $denormalizer-\u003edenormalize(['amount' =\u003e 10, 'currency' =\u003e 'USD'], 'Money\\Money');\n```\n\n## Symfony Integration\n\nRegister the MoneyNormalizerBundle in your kernel in `config/bundles.php`:\n\n```php\n\u003c?php\n\nreturn [\n  //...\n  Krak\\MoneyNormalizer\\Bridge\\Symfony\\MoneyNormalizerBundle::class =\u003e ['all' =\u003e true],\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrakphp%2Fmoney-normalizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrakphp%2Fmoney-normalizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrakphp%2Fmoney-normalizer/lists"}