{"id":20375324,"url":"https://github.com/cba85/eu-vat-rates","last_synced_at":"2026-05-29T06:31:44.995Z","repository":{"id":52265029,"uuid":"76968368","full_name":"cba85/eu-vat-rates","owner":"cba85","description":"💰 A PHP package to grab up-to-date VAT rates for any European Union member state","archived":false,"fork":false,"pushed_at":"2021-05-02T18:01:59.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T21:44:19.720Z","etag":null,"topics":["php","vat-rates"],"latest_commit_sha":null,"homepage":"","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/cba85.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":"2016-12-20T15:31:39.000Z","updated_at":"2021-05-02T18:02:01.000Z","dependencies_parsed_at":"2022-09-11T17:11:27.031Z","dependency_job_id":null,"html_url":"https://github.com/cba85/eu-vat-rates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cba85/eu-vat-rates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Feu-vat-rates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Feu-vat-rates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Feu-vat-rates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Feu-vat-rates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cba85","download_url":"https://codeload.github.com/cba85/eu-vat-rates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Feu-vat-rates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33640627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["php","vat-rates"],"created_at":"2024-11-15T01:29:56.266Z","updated_at":"2026-05-29T06:31:44.981Z","avatar_url":"https://github.com/cba85.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# European VAT rates\n\nA PHP package to grab up-to-date VAT rates for any European Union member state.\n\nThis package uses http://jsonvat.com to obtain its data for the VAT rates.\n\n## Installation\n\nInstall using Composer :\n\n```\n$ composer require cba85/eu-vat-rates dev-master\n```\n\n## Usage\n\n```php\n$rates = new Rates;\n\n/**\n * Get VAT rate of a country\n */\n$rate = $rates-\u003egetRate('FR');\n\n/**\n * Get specific VAT rate of a country\n */\n$rate = $rates-\u003egetRate('FR', 'reduced2');\n```\n\nYou'll find more examples in the ``example`` folder.\n\n## Tests\n\nIf VAT rates evolve, change the results expected.\n\n```bash\n$ ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/RatesTest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcba85%2Feu-vat-rates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcba85%2Feu-vat-rates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcba85%2Feu-vat-rates/lists"}