{"id":15068548,"url":"https://github.com/evertharmeling/vat-client","last_synced_at":"2025-04-10T16:51:11.366Z","repository":{"id":46056029,"uuid":"93832305","full_name":"evertharmeling/vat-client","owner":"evertharmeling","description":"Client library for the VIES/EU web service.","archived":false,"fork":false,"pushed_at":"2021-11-17T08:49:28.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T14:41:48.814Z","etag":null,"topics":["btw","library","php","php7","vat-number","vat-validation","vies"],"latest_commit_sha":null,"homepage":null,"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/evertharmeling.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":"2017-06-09T07:37:04.000Z","updated_at":"2022-02-12T10:51:44.000Z","dependencies_parsed_at":"2022-09-23T07:10:55.852Z","dependency_job_id":null,"html_url":"https://github.com/evertharmeling/vat-client","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evertharmeling%2Fvat-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evertharmeling%2Fvat-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evertharmeling%2Fvat-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evertharmeling%2Fvat-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evertharmeling","download_url":"https://codeload.github.com/evertharmeling/vat-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248255943,"owners_count":21073423,"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":["btw","library","php","php7","vat-number","vat-validation","vies"],"created_at":"2024-09-25T01:38:03.261Z","updated_at":"2025-04-10T16:51:11.329Z","avatar_url":"https://github.com/evertharmeling.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"VATClient\n===================\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/evertharmeling/vat-client.svg?style=flat-square)](https://packagist.org/packages/evertharmeling/vat-client)\n[![Build Status](https://travis-ci.org/evertharmeling/vat-client.png?branch=master)](https://travis-ci.org/evertharmeling/vat-client)\n\nThis libray supports validating a vat number and getting the info about a taxable object. The library uses the `http://www.controleerbtwnummer.nl/` API to retrieve the info and validation. \nThe `http://www.controleerbtwnummer.nl/` API relies on the [VIES/EU](http://ec.europa.eu/taxation_customs/vies/?locale=en) service and thus supports VAT numbers from all EU-countries.\n\n## Installation\n\n`composer require evertharmeling/vat-client`\n\n## Usage\n\nIt's required to use a PSR-7 supported HTTPClient like `guzzle` (^6.0) to inject in the `Client`.\n\n```php\n$client = new VIESApi\\Client\\Client(new GuzzleHttp\\Client(), VIESApi\\Parser\\VATParser());\n\ntry {\n    $taxableObject = $client-\u003egetInfo('\u003cVATNumber\u003e');\n    \n    var_dump($taxableObject);\ncatch (TaxableObjectNotFoundException $e) {\n    // VAT number not found\n}\n```\n\n## Roadmap\n\n- Formatter, add formatter who according to the regexes defined in the validator, formats the VAT number\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevertharmeling%2Fvat-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevertharmeling%2Fvat-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevertharmeling%2Fvat-client/lists"}