PHPackages                             kristiani/cvrapi - 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. [API Development](/categories/api)
4. /
5. kristiani/cvrapi

ActiveLibrary[API Development](/categories/api)

kristiani/cvrapi
================

CVR API package

1.0(5y ago)35.8k3MITPHPPHP &gt;=7.3.0

Since Feb 8Pushed 2y ago2 watchersCompare

[ Source](https://github.com/ephort/cvrapi)[ Packagist](https://packagist.org/packages/kristiani/cvrapi)[ RSS](/packages/kristiani-cvrapi/feed)WikiDiscussions master Synced 4w ago

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

[![Packagist Downloads](https://camo.githubusercontent.com/58c2d459c637c2544683dc550aebee6094a14d794c7c327118018289464b2bef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4b7269737469616e492f637672617069)](https://camo.githubusercontent.com/58c2d459c637c2544683dc550aebee6094a14d794c7c327118018289464b2bef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4b7269737469616e492f637672617069)[![Code size](https://camo.githubusercontent.com/9f7f6a23a2d97d0ed2fbc399a7f246053c7cf0598e4d6cd245a66b017b56a606/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f4a7573744976657273656e2f637672617069)](https://camo.githubusercontent.com/9f7f6a23a2d97d0ed2fbc399a7f246053c7cf0598e4d6cd245a66b017b56a606/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f4a7573744976657273656e2f637672617069)[![Build Status](https://camo.githubusercontent.com/f40b9ee92fd6b7e75a61b93920dd8c9e9798727a251afd16bdc74cc6f6bb9d5a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4a7573744976657273656e2f6376726170692f7068702e796d6c)](https://camo.githubusercontent.com/f40b9ee92fd6b7e75a61b93920dd8c9e9798727a251afd16bdc74cc6f6bb9d5a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4a7573744976657273656e2f6376726170692f7068702e796d6c)

CVR API
=======

[](#cvr-api)

Easily look up companies in the danish CVR database using the CVRAPI.dk API.

Supports tokens.

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

[](#installation)

`composer require kristiani/cvrapi`

Usage
-----

[](#usage)

```
// Get by VAT number
$result = \Cvrapi\Cvrapi::get('29910251', 'dk', 'Description of my project');

// Get by P-number
$result = \Cvrapi\Cvrapi::get('1012697712', 'dk', 'Description of my project');

// Get by company name
$result = \Cvrapi\Cvrapi::get('I/S Just Iversen', 'dk', 'Description of my project');

// Get company by searching specifically in the VAT field
$result = \Cvrapi\Cvrapi::request('29910251', 'dk', 'vat', 'Description of my project');

// Get company by searching specifically in the P-number field
$result = \Cvrapi\Cvrapi::request('1012697712', 'dk', 'produ', 'Description of my project');

// Get company by searching specifically in the company name field
$result = \Cvrapi\Cvrapi::request('I/S Just Iversen', 'dk', 'name', 'Description of my project');

// Get company by searching specifically in the phone number field
$result = \Cvrapi\Cvrapi::request('61401169', 'dk', 'phone', 'Description of my project');

// Get company using 'get' with token
$result = \Cvrapi\Cvrapi::get('29910251', 'dk', 'Description of my project', 'secret-token');

// Get company using 'request' with token
$result = \Cvrapi\Cvrapi::request('61401169', 'dk', 'phone', 'Description of my project', 'secret-token');
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 78.3% 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 ~454 days

Total

4

Last Release

2065d ago

Major Versions

0.3 → 1.02020-11-04

PHP version history (2 changes)0.1PHP &gt;=5.3.0

0.3PHP &gt;=7.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1626966?v=4)[Kristian Just](/maintainers/KristianI)[@KristianI](https://github.com/KristianI)

---

Top Contributors

[![KristianI](https://avatars.githubusercontent.com/u/1626966?v=4)](https://github.com/KristianI "KristianI (18 commits)")[![raunsbaekdk](https://avatars.githubusercontent.com/u/1727072?v=4)](https://github.com/raunsbaekdk "raunsbaekdk (2 commits)")[![SebastianSlangerup](https://avatars.githubusercontent.com/u/69595771?v=4)](https://github.com/SebastianSlangerup "SebastianSlangerup (2 commits)")[![lucasRolff](https://avatars.githubusercontent.com/u/1076243?v=4)](https://github.com/lucasRolff "lucasRolff (1 commits)")

---

Tags

composercvrcvr-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kristiani-cvrapi/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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