PHPackages                             ageras/sherlock - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ageras/sherlock

ActiveLibrary

ageras/sherlock
===============

Retrieving company data from providers

0.4.0(6y ago)118.6k4[4 PRs](https://github.com/ageras-com/sherlock/pulls)MITPHP

Since Jun 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ageras-com/sherlock)[ Packagist](https://packagist.org/packages/ageras/sherlock)[ RSS](/packages/ageras-sherlock/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (2)Versions (13)Used By (0)

Ageras Sherlock
===============

[](#ageras-sherlock)

[![Latest Stable Version](https://camo.githubusercontent.com/3c54cb6a0e3a9efade2f54ab97ed4c55671048c4a03fa4c6d7e7c2783764e711/68747470733a2f2f706f7365722e707567782e6f72672f6167657261732f736865726c6f636b2f762f737461626c65)](https://packagist.org/packages/ageras/sherlock)[![Total Downloads](https://camo.githubusercontent.com/78519e94ae4f5bcb29886932460ffcc327134524dc41f73c12d174fabb4a8288/68747470733a2f2f706f7365722e707567782e6f72672f6167657261732f736865726c6f636b2f646f776e6c6f616473)](https://packagist.org/packages/ageras/sherlock)[![Monthly Downloads](https://camo.githubusercontent.com/a9899afcff0e28f7f1bd571239b381683c3b2077e207739e5cb42945ffbf280b/68747470733a2f2f706f7365722e707567782e6f72672f6167657261732f736865726c6f636b2f642f6d6f6e74686c79)](https://packagist.org/packages/ageras/sherlock)[![Latest Unstable Version](https://camo.githubusercontent.com/2fb8c75c48f9ac7e7b77757a9b7adef8aa236bf58ee38adc25dae1d05bcd3a68/68747470733a2f2f706f7365722e707567782e6f72672f6167657261732f736865726c6f636b2f762f756e737461626c65)](https://packagist.org/packages/ageras/sherlock)[![License](https://camo.githubusercontent.com/b007fba0bbc4a6cfb60d163e5881f08cd4ea21b77a60f7a6807f640a1178f85b/68747470733a2f2f706f7365722e707567782e6f72672f6167657261732f736865726c6f636b2f6c6963656e7365)](https://packagist.org/packages/ageras/sherlock)[![CircleCI](https://camo.githubusercontent.com/423449bdf77d2df3b0cc81086e8d0dc4d389ca496faa3c8414e98ec0089b6422/68747470733a2f2f636972636c6563692e636f6d2f67682f6167657261732d636f6d2f736865726c6f636b2e7376673f7374796c653d737667)](https://circleci.com/gh/ageras-com/sherlock)[![codecov](https://camo.githubusercontent.com/f1ef679ac11ec814ccb5e2bf9eae82beb8656dae72f981746933cb9681c12957/68747470733a2f2f636f6465636f762e696f2f67682f6167657261732d636f6d2f736865726c6f636b2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/ageras-com/sherlock)

Description
-----------

[](#description)

Sherlock provides a generic interface over various databases containing company data such as addresses, VAT registration numbers, contact information and annual reports. Sherlock will, based on the country to search in, select the appropriate provider(s) to search.

Currently Sherlock retrieves data from the following data providers:

- **Denmark**: [VIRK](http://cvr.dk) (Danish Central Business Registry - CVR). Requires you to obtain a user (see below).
- **European Union**: [EU VIES](http://ec.europa.eu/taxation_customs/vies/).

Provider-specific configuration
-------------------------------

[](#provider-specific-configuration)

### Denmark - CVR registry

[](#denmark---cvr-registry)

The Danish data provider is an ElasticSearch instance provided by the Danish authorities. Go to [CVR.dk](http://datahub.virk.dk/dataset/system-til-system-adgang-til-cvr-data) to read more about obtaining credentials.

In order to use the provider, please provide the following ENV variables with the credentials to use for the CVR ElasticSearch instance:

```
    COMPANY_SERVICE_CVR_USERNAME=
    COMPANY_SERVICE_CVR_PASSWORD=

```

Contributing
------------

[](#contributing)

### Bug Reports

[](#bug-reports)

All issues are welcome, to create a better product, but your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue.

### Which Branch?

[](#which-branch)

All bug fixes should be sent to the develop branch. Bug fixes should never be sent to the master

### Security Vulnerabilities

[](#security-vulnerabilities)

If you discover a security vulnerability within Sherlock package, write an email to Ageras' development team.

### Coding Style

[](#coding-style)

Ageras' follows the PSR-2 coding standard and the [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) autoloading standard.

### StyleCI

[](#styleci)

StyleCI automatically fixes code style to match the standard.

TODO
----

[](#todo)

- Danish Provider
- EU VIES provider
- Swedish Provider
- Norwegian Provider
- Dutch Provider
- German Provider

License
-------

[](#license)

```
Copyright (c) 2016: Ageras A/S and other contributors:

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 60.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~188 days

Recently: every ~325 days

Total

8

Last Release

2291d ago

Major Versions

0.3.4 → v04.x-dev2016-08-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/05326b9c2b493023931d1f8806ec7635e9d75ef19fd87d4c298e920a4cd60eb7?d=identicon)[Ageras](/maintainers/Ageras)

![](https://www.gravatar.com/avatar/38f7b504f3065e9197e5d2b4263f1761de43b92f1f9bb2697eb21961e7e343d2?d=identicon)[shooka](/maintainers/shooka)

---

Top Contributors

[![coquer](https://avatars.githubusercontent.com/u/1929689?v=4)](https://github.com/coquer "coquer (66 commits)")[![shooka](https://avatars.githubusercontent.com/u/5556768?v=4)](https://github.com/shooka "shooka (24 commits)")[![phidah](https://avatars.githubusercontent.com/u/173517?v=4)](https://github.com/phidah "phidah (16 commits)")[![cameronjdavis](https://avatars.githubusercontent.com/u/5994945?v=4)](https://github.com/cameronjdavis "cameronjdavis (3 commits)")

---

Tags

cvrdenmarkeu-vies

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ageras-sherlock/health.svg)

```
[![Health](https://phpackages.com/badges/ageras-sherlock/health.svg)](https://phpackages.com/packages/ageras-sherlock)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
