PHPackages                             christiandk00/risika-php-wrapper - 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. christiandk00/risika-php-wrapper

ActiveLibrary[API Development](/categories/api)

christiandk00/risika-php-wrapper
================================

A wrapper for connecting to the Risika API

0.1.0(5y ago)19PHP

Since Mar 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/christiandk00/Risika-PHP-Wrapper)[ Packagist](https://packagist.org/packages/christiandk00/risika-php-wrapper)[ RSS](/packages/christiandk00-risika-php-wrapper/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

About
-----

[](#about)

This is a PHP Wrapper for working with the [Risika API](https://api.risika.dk/docs/).

Risik API is a database for looking up information about companies.

The package is only tested with the following countries:

- Denmark
- Sweden
- Norway

How to install
--------------

[](#how-to-install)

Install via Composer by running

```
composer require christiandk00/risika-php-wrapper

```

in your project directory.

Usage
-----

[](#usage)

In order to use this package you will need a JWT token from Risika.

You will get a refresh token from Risika that you can use to get a access token. The wrapper handles this for you.

I suggest that you read the following about ID types for the API, as that will give you a better understanding of some variables names. [Link to ID Types](https://api.risika.dk/docs/#id-types)

There is a universel method for calling all "get" endpoints, but there is also methods for almost all endpoints. I will try to make exampels for all of them.

Setup
-----

[](#setup)

To initialise the class you will need

- A refresh token from Risika
- The version of Risika API you want to use
- The language that you will get response messages in.

In this example I stored my refresh token in my .env file and chose to use version 1.2, and I also want my response messages in danish.

```
use Risika\Risika;

// Initialize the client
$risika = New Risika(env('RISIKA_REFRESH_TOKEN'), 'v1.2', 'da-DK')

```

Examples
--------

[](#examples)

Make a get request to any Risika API endpoint

```
//$locale = "dk" //Search in Denmark
//$path = "/list/company_types"; //The path to "get" from

$risika->get($locale, $path);

```

Get basic company information about a danish company

```
$risika->getBasicCompanyInfo('dk', '54562519');

```

This will return the basic company information about Lego A/S (54562519)

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

[](#contributing)

Any contribution is welcome! Just make a PR.

Help
----

[](#help)

I am open to help with questions about the wrapper. Just make a issue or shoot me an email at

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

1889d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/74274465?v=4)[christiandk00](/maintainers/christiandk00)[@christiandk00](https://github.com/christiandk00)

---

Top Contributors

[![christiandk00](https://avatars.githubusercontent.com/u/74274465?v=4)](https://github.com/christiandk00 "christiandk00 (8 commits)")

### Embed Badge

![Health badge](/badges/christiandk00-risika-php-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/christiandk00-risika-php-wrapper/health.svg)](https://phpackages.com/packages/christiandk00-risika-php-wrapper)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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