{"id":29215206,"url":"https://github.com/pronamic/wp-money","last_synced_at":"2025-07-03T00:08:32.442Z","repository":{"id":57045240,"uuid":"130054663","full_name":"pronamic/wp-money","owner":"pronamic","description":"WordPress Money library.","archived":false,"fork":false,"pushed_at":"2024-10-02T08:05:01.000Z","size":385,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-10T06:51:55.329Z","etag":null,"topics":["currency","money","pronamic","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://pronamic.github.io/wp-money/","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/pronamic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-04-18T11:52:53.000Z","updated_at":"2024-10-02T08:05:03.000Z","dependencies_parsed_at":"2023-02-16T18:45:41.616Z","dependency_job_id":"6a3d919c-d8d3-4f19-adf5-c804e7ffc794","html_url":"https://github.com/pronamic/wp-money","commit_stats":{"total_commits":262,"total_committers":5,"mean_commits":52.4,"dds":0.5534351145038168,"last_synced_commit":"554fcfb8b229fade8f08e7268dfe04ebeb9b18d7"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/pronamic/wp-money","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-money","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-money/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-money/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-money/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pronamic","download_url":"https://codeload.github.com/pronamic/wp-money/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-money/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263234961,"owners_count":23434921,"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":["currency","money","pronamic","wordpress","wordpress-plugin"],"created_at":"2025-07-03T00:08:25.627Z","updated_at":"2025-07-03T00:08:29.207Z","avatar_url":"https://github.com/pronamic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Money\n\n[![codecov](https://codecov.io/gh/pronamic/wp-money/branch/develop/graph/badge.svg?token=IqgPWjpzKf)](https://codecov.io/gh/pronamic/wp-money)\n[![Coverage Status](https://coveralls.io/repos/github/pronamic/wp-money/badge.svg?branch=develop)](https://coveralls.io/github/pronamic/wp-money?branch=develop)\n\n## Non-breaking space\n\nIn the money format it is smart to use a non-breaking space:\n\n\u003e In word processing and digital typesetting, a non-breaking space (\" \"), also called no-break space, non-breakable space (NBSP), hard space,\n\u003e or fixed space, is a space character that prevents an automatic line break at its position.\n\nSource: https://en.wikipedia.org/wiki/Non-breaking_space#Keyboard_entry_method\n\n## WordPress Filters\n\n### pronamic_money_default_format\n\n```php\nfunction prefix_pronamic_money_default_format( $format ) {\n\t/* translators: 1: currency symbol, 2: amount, 3: currency code */\n\treturn _x( '%1$s%2$s', 'default money format', 'pronamic-ideal' );\n}\n\nadd_filter( 'pronamic_money_default_format', 'prefix_pronamic_money_default_format' );\n```\n\n## Inspiration\n\n*\thttp://php.net/manual/en/function.money-format.php\n*\thttps://github.com/datasets/currency-codes\n*\thttps://github.com/cknow/laravel-money\n*\thttps://github.com/akaunting/money\n*\thttps://github.com/moneyphp/money\n*\thttps://github.com/Torann/laravel-currency\n*\thttps://github.com/davidkalosi/js-money\n*\thttps://github.com/scurker/currency.js\n*\thttps://github.com/woocommerce/woocommerce/blob/3.3.5/includes/wc-core-functions.php#L284-L464\n*\thttps://github.com/woocommerce/woocommerce/blob/3.3.5/i18n/locale-info.php\n*\thttp://trigeminal.fmsinc.com/samples/setlocalesample2.asp\n*\thttp://moneyphp.org/\n*\thttps://packagist.org/?q=money\n*\thttps://packagist.org/?q=currency\n*\thttps://yarnpkg.com/en/packages?q=money\n*\thttps://yarnpkg.com/en/packages?q=currency\n*\thttps://www.currency-iso.org/en/home.html\n*\thttps://docs.oracle.com/javase/7/docs/api/java/util/Currency.html\n*\thttps://wp-languages.github.io/\n*\thttp://php.net/manual/en/function.sscanf.php\n*\thttp://php.net/manual/en/numberformatter.create.php\n*\thttps://git.tibidono.com/package/money-datatype/blob/0.1.13/src/Money/TaxedMoney.php\n*\thttps://frontstuff.io/how-to-handle-monetary-values-in-javascript\n*\thttps://github.com/sarahdayan/dinero.js\n\n[![Pronamic - Work with us](https://github.com/pronamic/brand-resources/blob/main/banners/pronamic-work-with-us-leaderboard-728x90%404x.png)](https://www.pronamic.eu/contact/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronamic%2Fwp-money","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpronamic%2Fwp-money","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronamic%2Fwp-money/lists"}