PHP code example of hypnodev / laravel-nordigen

1. Go to this page and download the library: Download hypnodev/laravel-nordigen library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hypnodev / laravel-nordigen example snippets




namespace App\Models;

use Hypnodev\LaravelNordigen\Traits\HasNordigen;
// ...

class User extends Authenticatable
{
    use Notifiable, HasNordigen;
    
    // ...
}


auth()->user()->createRequisitionUrl('REVOLUT_REVOGB21');

$accounts = $user->nordigenAccounts();
$account = $user->nordigenAccount($accounts[0]);
dd($account);
bash
$ php artisan vendor:publish --provider="Hypnodev\LaravelNordigen\LaravelNordigenServiceProvider"