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 3w 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

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

1935d 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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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