PHPackages                             kfoobar/laravel-kivra - 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. kfoobar/laravel-kivra

ActiveLibrary[API Development](/categories/api)

kfoobar/laravel-kivra
=====================

Laravel package for the Kivra Sender API

v1.0.0(3mo ago)01↓90%MITPHPPHP ^8.0

Since Apr 2Pushed 3mo agoCompare

[ Source](https://github.com/KFoobar/laravel-kivra)[ Packagist](https://packagist.org/packages/kfoobar/laravel-kivra)[ Docs](https://github.com/kfoobar/laravel-kivra)[ RSS](/packages/kfoobar-laravel-kivra/feed)WikiDiscussions main Synced 1mo ago

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

Kivra API Client for Laravel
============================

[](#kivra-api-client-for-laravel)

A lightweight Laravel package for interacting with the [Kivra Sender API](https://developer.kivra.com), supporting both live and sandbox environments.

> **Note:** This package currently covers a limited subset of the Kivra API. Additional endpoints may be added in future releases.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Laravel 9.0 or higher

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

[](#installation)

Install the package via Composer:

```
composer require kfoobar/laravel-kivra
```

Publish the configuration file:

```
php artisan vendor:publish --tag=kivra-config
```

This will create a `kivra.php` file in your `config` directory.

Configuration
-------------

[](#configuration)

Add the following variables to your `.env` file:

```
KIVRA_CLIENT_ID=
KIVRA_CLIENT_SECRET=
KIVRA_TENANT_KEY=
KIVRA_TEST_MODE=
```

`KIVRA_TEST_MODE` is optional and defaults to `false`. Set it to `true` to route all requests to the Kivra sandbox API.

Usage
-----

[](#usage)

### Authenticate

[](#authenticate)

Authentication uses the OAuth 2.0 client credentials flow. Call `auth()` before any other method:

```
use KFoobar\Kivra\Facades\Kivra;

$kivra = Kivra::auth();
```

### Find a Company

[](#find-a-company)

Look up a company by VAT number:

```
use KFoobar\Kivra\Facades\Kivra;

$company = Kivra::auth()->company('556000-0000');
```

Returns an array with the company data, or an empty array if not found.

Contribution
------------

[](#contribution)

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or bugfix.
3. Make your changes and ensure tests pass.
4. Submit a pull request with a detailed description of your changes.

License
-------

[](#license)

This package is open-source and released under the MIT License. See [LICENSE](LICENSE) for more information.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance82

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

91d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/420690?v=4)[David Villa](/maintainers/KFoobar)[@KFoobar](https://github.com/KFoobar)

---

Top Contributors

[![KFoobar](https://avatars.githubusercontent.com/u/420690?v=4)](https://github.com/KFoobar "KFoobar (2 commits)")

---

Tags

laravelpackageKivra

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kfoobar-laravel-kivra/health.svg)

```
[![Health](https://phpackages.com/badges/kfoobar-laravel-kivra/health.svg)](https://phpackages.com/packages/kfoobar-laravel-kivra)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.2k](/packages/larastan-larastan)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k11.8M116](/packages/nuwave-lighthouse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M145](/packages/laravel-mcp)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[joggapp/laravel-aws-sns

Laravel package for the SNS events by AWS

3178.8k](/packages/joggapp-laravel-aws-sns)

PHPackages © 2026

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