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.5.0(1y ago)0945MITPHPPHP ^8.2|^8.3|^8.4CI 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 1mo ago

READMEChangelog (7)Dependencies (13)Versions (9)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

44

—

FairBetter than 92% of packages

Maintenance70

Regular maintenance activity

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% 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 ~107 days

Recently: every ~141 days

Total

7

Last Release

372d ago

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

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

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

### 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] (20 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (10 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

[lunarstorm/laravel-ddd

A Laravel toolkit for Domain Driven Design patterns

17959.0k](/packages/lunarstorm-laravel-ddd)[bezhansalleh/filament-plugin-essentials

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

27584.7k16](/packages/bezhansalleh-filament-plugin-essentials)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)[jonpurvis/squeaky

A Laravel Validation Rule to Help Catch Profanity.

706.0k](/packages/jonpurvis-squeaky)[camya/filament-title-with-slug

TitleWithSlugInput - Easy Permalink Slugs for the FilamentPHP Form Builder (PHP / Laravel / Livewire)

13444.5k](/packages/camya-filament-title-with-slug)

PHPackages © 2026

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