neverlxsss/monobank-laravel

Laravel wrapper package for the monobank API

1.0.7 2025-03-28 15:32 UTC

This package is auto-updated.

Last update: 2025-05-28 15:51:56 UTC


README

A Laravel package for the Monobank

Installation

composer require neverlxsss/monobank-laravel

Add a ServiceProvider to your providers array in config/app.php:

    'providers' => [
    	//other things here

    	Neverlxsss\Monobank\MonobankServiceProvider::class,
    ];

Add the facade to the facades array:

    'aliases' => [
    	//other things here

    	'Monobank' => Neverlxsss\Monobank\Facades\Monobank::class,
    ];

Finally, publish the configuration files:

php artisan vendor:publish --provider="Neverlxsss\Monobank\MonobankServiceProvider"

Configuration

Please set your API: MONOBANK_TOKEN in the .env file