PHPackages                             kevinfrom/cvr-api - 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. kevinfrom/cvr-api

ActiveLibrary

kevinfrom/cvr-api
=================

CvrApi plugin for CakePHP

1.0.2(6y ago)010MITPHPCI failing

Since May 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kevinfrom/cvr-api)[ Packagist](https://packagist.org/packages/kevinfrom/cvr-api)[ RSS](/packages/kevinfrom-cvr-api/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

CvrApi php library
==================

[](#cvrapi-php-library)

Installation
------------

[](#installation)

Install through composer:

```
composer require kevinfrom/cvr-api

```

PHP Examples
------------

[](#php-examples)

### Initializing the api

[](#initializing-the-api)

```
use \kevinfrom\CvrApi\CvrApi;

$cvrApi = new CvrApi();

```

### Country

[](#country)

By default, the API searches for Denmark, but you can change this if you would like:

```
$cvrApi = new CvrApi('de');

```

### SSL/HTTPS

[](#sslhttps)

By default, SSL/HTTPS is enabled for the API request, but you can disable this if you would like:

```
$cvrApi = new CvrApi('dk', true);

```

### Query search

[](#query-search)

Search using query:

```
$result = $cvrApi->search('Kevin From');

```

### Search by name

[](#search-by-name)

Seach by name:

```
$result = $cvrApi->searchByName('Kevin From');

```

### Search by VAT

[](#search-by-vat)

Search by VAT (integer):

```
$result = $cvrApi->searchByVat(39090325);

```

or string:

```
$result = $cvrApi->searchByVat('39090325');

```

### Search by CVR

[](#search-by-cvr)

This is an alias to "Search by VAT".

Search by CVR (integer):

```
$result = $cvrApi->searchByCvr(39090325);

```

or string:

```
$result = $cvrApi->searchByCvr('39090325');

```

### Search by production unit

[](#search-by-production-unit)

Search by production unit:

```
$result = $cvrApi->searchByProductionUnit(1025204855);

```

### Search by phone

[](#search-by-phone)

Search by phone:

```
$result = $cvrApi->searchByPhone(51927117);

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

3

Last Release

2198d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2eea4b39ecd31f4f3d320ba1644934dce5554ac823b628bb467ac50851779f68?d=identicon)[kevinfrom](/maintainers/kevinfrom)

---

Top Contributors

[![kevinfrom](https://avatars.githubusercontent.com/u/33836112?v=4)](https://github.com/kevinfrom "kevinfrom (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kevinfrom-cvr-api/health.svg)

```
[![Health](https://phpackages.com/badges/kevinfrom-cvr-api/health.svg)](https://phpackages.com/packages/kevinfrom-cvr-api)
```

PHPackages © 2026

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