{"id":39857157,"url":"https://github.com/dmt-software/webservices-client","last_synced_at":"2026-01-18T13:53:19.057Z","repository":{"id":56970316,"uuid":"140335368","full_name":"dmt-software/webservices-client","owner":"dmt-software","description":"Implementation of the CompanyInfo WebservicesNl data integration","archived":false,"fork":false,"pushed_at":"2019-02-11T20:04:57.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-25T06:38:08.559Z","etag":null,"topics":["companyinfo"],"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/dmt-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-09T19:55:13.000Z","updated_at":"2022-02-08T10:15:55.000Z","dependencies_parsed_at":"2022-08-21T10:50:56.702Z","dependency_job_id":null,"html_url":"https://github.com/dmt-software/webservices-client","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dmt-software/webservices-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fwebservices-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fwebservices-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fwebservices-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fwebservices-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmt-software","download_url":"https://codeload.github.com/dmt-software/webservices-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fwebservices-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28537293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["companyinfo"],"created_at":"2026-01-18T13:53:18.352Z","updated_at":"2026-01-18T13:53:19.046Z","avatar_url":"https://github.com/dmt-software.png","language":"PHP","readme":"# WebserviceNl Client\n[![Build Status](https://travis-ci.org/dmt-software/webservices-client.svg?branch=master)](https://travis-ci.org/dmt-software/webservices-client)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dmt-software/webservices-client/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dmt-software/webservices-client/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/dmt-software/webservices-client/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dmt-software/webservices-client/?branch=master)\n\nA generic client for consuming the services from [CompanyInfo - WebservicesNl](https://webview.webservices.nl/documentation/files/introduction-txt.html).\n\n## Installation\n\n```composer require dmt-software/webservices-client```\n\n### Service packages\n\nInstall a service package using composer:\n\n```composer require dmt-software/webservices-dutchbusiness```\n\nAfter installation all of the service methods become available in this client.\nSee [Services](#services) for a complete list of supported services. \n\n## Usage\n\n### Create a Client\n\nCreate a client for communication with CompanyInfo - WebservicesNl.\n\n```php\n\u003c?php\n \nuse DMT\\WebservicesNl\\Client\\Factory\\ClientFactory;\n \n$credentials = ['username' =\u003e '{username}', 'password' =\u003e '{password}'];\n$client = ClientFactory::createClient('soap_doclit', $credentials);\n```\nIn this case a client is returned for communication with the `soap_doclit` endpoint. \nSee [Protocols](#protocols) for all supported endpoints.\n\n### Make a service call using a request\n\nThe client uses a CommandBus to delegate a request to a handler that can process it. \n```php\n\u003c?php \n \nuse DMT\\WebservicesNl\\Client\\Client;\nuse DMT\\WebservicesNl\\DutchBusiness\\Request\\GetDossierV3Request;\nuse DMT\\WebservicesNl\\DutchBusiness\\Response\\GetDossierV3Response;\n\n$request = new GetDossierV3Request();\n$request-\u003esetDossierNumber('34221165');\n \n/** @var Client $client */\n/** @var GetDossierV3Response $response */\n$response = $client-\u003eexecute($request);\n``` \nThis example sends a `GetDossierV3Request`noticing to the [DutchBusiness](https://webview.webservices.nl/documentation/files/service_dutchbusiness-php.html#Dutch_Business) service \nand returns a `GetDossierV3Response`.\n\n### Call a service method directly\n\nAlternatively the client accepts a direct service method call with an array of arguments. This functionality is similar \nto the native SoapClient behaviour.  \n\u003e NOTE: The requests created from your call, might be erroneous without notice. This makes it hard to debug.   \n```php\n\u003c?php\n \nuse DMT\\WebservicesNl\\Client\\Client;\n \n/** @var Client $client */\n$response = $client-\u003edutchBusinessGetDossierV3(['dossier_number' =\u003e '34221165']);\n```\n\n## Services\n\nGoal is to support as many services as [WebservicesNl](https://webview.webservices.nl/documentation/files/interfaces/more/services-txt.html#Service_names) provides.\nIf the service you are looking for isn't available, feel free to leave a [feature request](https://github.com/dmt-software/webservices-client/issues). \n\nThe services that can be installed are:\n\n- [DutchBusiness](https://webview.webservices.nl/documentation/files/service_dutchbusiness-php.html#Dutch_Business)\n\n## Protocols\n\nCurrently this package supports the WebservicesNl endpoint for:\n \n- soap\n- soap_doclit\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmt-software%2Fwebservices-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmt-software%2Fwebservices-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmt-software%2Fwebservices-client/lists"}