PHPackages                             oncloud/visma-dinero - 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. [Framework](/categories/framework)
4. /
5. oncloud/visma-dinero

ActiveLibrary[Framework](/categories/framework)

oncloud/visma-dinero
====================

Laravel package for Visma Dinero

v1.6.1(3w ago)01.4kMITPHPPHP ^8.3|^8.4|^8.5CI passing

Since Aug 6Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/oncloud/visma-dinero)[ Packagist](https://packagist.org/packages/oncloud/visma-dinero)[ Docs](https://github.com/oncloud/visma-dinero)[ RSS](/packages/oncloud-visma-dinero/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (26)Versions (11)Used By (0)

Visma Dinero - An expressive API wrapper for Dinero Accounting software
=======================================================================

[](#visma-dinero---an-expressive-api-wrapper-for-dinero-accounting-software)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4d11f5415c362949c2d6ec3c3b3f3577dd62ef468ca95d3d760704090dbaa7e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6e636c6f75642f7669736d612d64696e65726f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/oncloud/visma-dinero)[![GitHub Tests Action Status](https://camo.githubusercontent.com/6cdf099c39109d95e004a793de7ecb0e6d0900a61af6d907f5e48c62245e2350/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6f6e636c6f75642f7669736d612d64696e65726f2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/oncloud/visma-dinero/actions?query=workflow%3Arun-tests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/5ee60f254de3b6f3740e4649a6c9a3b172a1d631d51f25727cac509a0db57a57/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6f6e636c6f75642f7669736d612d64696e65726f2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/oncloud/visma-dinero/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/1ef56b5691c6f2cfd4f7f14f947258f04ce25d6fcdd2db6927a59c8f287300f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e636c6f75642f7669736d612d64696e65726f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/oncloud/visma-dinero)

A Laravel wrapper which makes it easy to use the Visma Dinero API. It has an expressive and elegant syntax for working with the Dinero API

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

[](#installation)

You can install the package via composer:

```
composer require oncloud/visma-dinero
```

You can publish the config file with:

```
php artisan vendor:publish --tag="dinero-config"
```

This is the contents of the published config file:

```
return [
    'client_id' => env('DINERO_CLIENT_ID'),
    'client_secret' => env('DINERO_CLIENT_SECRET'),
    'organization_id' => env('DINERO_ORGANIZATION_ID'),
    'redirect_url' => 'http://localhost/dinero/callback',
];
```

Usage
-----

[](#usage)

The package is built around the Dinero API. You can read more about the API here:

### Authentication

[](#authentication)

Dinero uses OAuth2 for authentication. You can use the `Dinero::authenticate()` method to authenticate with Dinero. It'll redirect the user to the Visma Connect OAuth2 page, where they can login and authorize your application. After the user logs in, they'll be redirected back to your application. You'll receive an access token, scope and iss.

### Refreshing the access token

[](#refreshing-the-access-token)

Use the `Dinero::refreshToken()` with the current `refresh_token` as a parameter method to refresh the access token. It'll return a new `access_token`, `scope`, `expires_in`, `token_type` &amp; `refresh_token`.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jimmi Hansen](https://github.com/FoksVHox)
- [OnCloud I/S](https://github.com/OnCloud)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance90

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 67.9% 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 ~148 days

Recently: every ~168 days

Total

8

Last Release

24d ago

PHP version history (4 changes)v1.0.0PHP ^8.1

v1.3.0PHP ^8.1|^8.2|^8.3

v1.5.0PHP ^8.2|^8.3|^8.4

v1.6.1PHP ^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3939553a2b5a5b5676d045bc5865950ce7a89668ca686a370f6e887ff89db7d?d=identicon)[Foks](/maintainers/Foks)

![](https://www.gravatar.com/avatar/39c698e8314035e3d457bc6ddfd634e518177d6e4a5ff304dbf3c6bc2eda61c0?d=identicon)[mcmuffindk](/maintainers/mcmuffindk)

---

Top Contributors

[![FoksVHox](https://avatars.githubusercontent.com/u/37844753?v=4)](https://github.com/FoksVHox "FoksVHox (72 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (21 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")[![mcmuffindk](https://avatars.githubusercontent.com/u/24530002?v=4)](https://github.com/mcmuffindk "mcmuffindk (2 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/oncloud-visma-dinero/health.svg)

```
[![Health](https://phpackages.com/badges/oncloud-visma-dinero/health.svg)](https://phpackages.com/packages/oncloud-visma-dinero)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[filament/support

Core helper methods and foundation code for all Filament packages.

2331.0M245](/packages/filament-support)

PHPackages © 2026

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