{"id":16462583,"url":"https://github.com/ariaieboy/filament-currency","last_synced_at":"2026-01-28T12:34:24.069Z","repository":{"id":190627628,"uuid":"681288275","full_name":"ariaieboy/filament-currency","owner":"ariaieboy","description":"Filament Currency formatting and conversion package","archived":false,"fork":false,"pushed_at":"2025-11-26T14:47:20.000Z","size":109,"stargazers_count":66,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-27T16:47:16.681Z","etag":null,"topics":["currency","filament","filament-plugin","filamentphp","filamentphp-plugin"],"latest_commit_sha":null,"homepage":"","language":"Blade","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/ariaieboy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"ariaieboy"}},"created_at":"2023-08-21T17:26:03.000Z","updated_at":"2025-11-26T14:47:24.000Z","dependencies_parsed_at":"2023-11-21T21:29:52.216Z","dependency_job_id":"1be98a29-bd49-4138-adc3-5f8b3134fe7b","html_url":"https://github.com/ariaieboy/filament-currency","commit_stats":null,"previous_names":["ariaieboy/filament-currency"],"tags_count":37,"template":false,"template_full_name":"filamentphp/plugin-skeleton","purl":"pkg:github/ariaieboy/filament-currency","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariaieboy%2Ffilament-currency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariaieboy%2Ffilament-currency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariaieboy%2Ffilament-currency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariaieboy%2Ffilament-currency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ariaieboy","download_url":"https://codeload.github.com/ariaieboy/filament-currency/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariaieboy%2Ffilament-currency/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["currency","filament","filament-plugin","filamentphp","filamentphp-plugin"],"created_at":"2024-10-11T11:11:42.552Z","updated_at":"2026-01-28T12:34:24.063Z","avatar_url":"https://github.com/ariaieboy.png","language":"Blade","funding_links":["https://github.com/sponsors/ariaieboy"],"categories":[],"sub_categories":[],"readme":"# Filament Currency formatting and conversion package\n![filament currency](https://banners.beyondco.de/Filament%20Currency.jpeg?theme=dark\u0026packageManager=composer+require\u0026packageName=ariaieboy%2Ffilament-currency\u0026pattern=texture\u0026style=style_2\u0026description=Filament+laravel-money+formatter\u0026md=1\u0026showWatermark=1\u0026fontSize=150px\u0026images=currency-dollar\u0026widths=500\u0026heights=500)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/ariaieboy/filament-currency.svg?style=flat-square)](https://packagist.org/packages/ariaieboy/filament-currency)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/ariaieboy/filament-currency/fix-php-code-styling.yml?label=code%20style\u0026style=flat-square)](https://github.com/ariaieboy/filament-currency/actions?query=workflow%3A\"Fix+PHP+Code+Styling\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/ariaieboy/filament-currency.svg?style=flat-square)](https://packagist.org/packages/ariaieboy/filament-currency)\n\nThis package provides some macros for `TextColumn`, `TextEntry` and summerizer `Average` and `Sum` to format the money values using the [laravel-money](https://github.com/akaunting/laravel-money).\n\nWe also provide a `currencyMask()` method for `TextInput` and `TextInputColumn` to mask your numbers in front-end and return the plain number to back-end.\n\n### Text Column (Table Builder)\n\nA new `currency(string | Closure $currency = null, bool $shouldConvert = false)` method to the `TextColumn` that uses the [laravel-money](https://github.com/akaunting/laravel-money) to format currencies.\n\n### Summary (Table Builder)\n\nThe summarizer classes `Summarizer`, `Sum` and `Average` contains the method `currency(string | Closure $currency = null, bool $shouldConvert = false)` to display the value in the configured currency format.\n\n### Text Entry (InfoLists)\n\nA new `currency(string | Closure $currency = null, bool $shouldConvert = false)` method to the `TextEntry`\n\n### Text Input (Form Builder)\n\nWe also have a `currencyMask()` method for `TextInput` that lets you mask your numbers in front-end and return the plain number to back-end.\n\n### Text Input Column (Table Builder)\n\nWe also have a `currencyMask()` method for `TextInputColumn` that lets you mask your numbers in front-end and return the plain number to back-end.\n\nBy using this package you can configure the formatter using [laravel-money config](https://github.com/akaunting/laravel-money/blob/master/config/money.php).\n\nFor example, you can customize the `symbol`, `symbol_first`, `decimal_mark`, and `thousands_separator` for each currency. Or if you want you can add your custom currency to the config and use it in the `currency()` method instead of standard money.\n\n## Installation\n\nYou can install the package via Composer:\n\n```bash\ncomposer require ariaieboy/filament-currency\n```\n\nYou can publish the laravel-money config file with:\n\n```bash\nphp artisan vendor:publish --tag=money\n```\n\n## Usage\n\n```php\n\\Filament\\Tables\\Columns\\TextColumn::make('money')\n    -\u003ecurrency('USD');\n\n\\Filament\\Tables\\Columns\\TextColumn::make('money')\n    -\u003ecurrency('USD')\n    -\u003esummarize(\\Filament\\Tables\\Columns\\Summarizers\\Sum::make()-\u003ecurrency());\n\n\\Filament\\Tables\\Columns\\TextColumn::make('money')\n    -\u003ecurrency('USD')\n    -\u003esummarize(\\Filament\\Tables\\Columns\\Summarizers\\Average::make()-\u003ecurrency());\n\n\\Filament\\Infolists\\Components\\TextEntry::make('money')\n    -\u003ecurrency('USD');\n\n\\Filament\\Forms\\Components\\TextInput::make('money')\n    -\u003ecurrencyMask(thousandSeparator: ',',decimalSeparator: '.',precision: 2)\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [AriaieBOY](https://github.com/ariaieboy)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariaieboy%2Ffilament-currency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariaieboy%2Ffilament-currency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariaieboy%2Ffilament-currency/lists"}