PHPackages                             localdev/laravel-raven-atlas - 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. [Payment Processing](/categories/payments)
4. /
5. localdev/laravel-raven-atlas

ActiveLibrary[Payment Processing](/categories/payments)

localdev/laravel-raven-atlas
============================

A Laravel Package for Raven Atlas

1.0.1(2y ago)03MITPHPPHP ^7.2|^8.0|^8.1

Since Nov 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Michael-Ilesanmi/laravel-raven-atlas)[ Packagist](https://packagist.org/packages/localdev/laravel-raven-atlas)[ RSS](/packages/localdev-laravel-raven-atlas/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

Raven Atlas Package
===================

[](#raven-atlas-package)

> Implement Raven Atlas easily with Laravel

The current features have been implemented

- [Installation](#installation)
- [Credits](#credits)
- [Contributing](#contributing)
- [Features](#features)
- [License](#license)

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

```
composer require localdev/laravel-raven-atlas

```

After installation, to register the service provider, open `config/app.php` and add the following to the `providers` key.

```
'providers' => [
    /*
     * Package Service Providers...
     */
    ...
    Localdev\RavenAtlas\RavenAtlasServiceProvider::class,
    ...
]

```

Also add this to the `aliases`

```
'aliases' => [
    ...
    'RavenAtlas' => Localdev\RavenAtlas\Facades\RavenAtlas::class,
    ...
]

```

Publish the configuration file using this command:

```
php artisan vendor:publish --provider="Localdev\RavenAtlas\RavenAtlasServiceProvider"

```

Open your .env file and add your public key and secret key. Get your keys from [here](https://atlas.getravenbank.com/user/settings)

```
RAVEN_PUBLIC_KEY='RVPUB-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-xxxxxxxxxxxxx'
RAVEN_SECRET_KEY='RVSEC-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-xxxxxxxxxxxxx'
RAVEN_BASE_URL='https://integrations.getravenbank.com/v1/'
RAVEN_WEBHOOK_SECRET='xxxxxxxxx'

```

Credits
-------

[](#credits)

- [Michael Ilesanmi (localdev))](https://github.com/Michael-Ilesanmi)

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

[](#contributing)

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities. I will appreciate that a lot. Also please add your name to the credits.

Kindly [follow me on twitter](https://twitter.com/__localdev)!

Features
--------

[](#features)

The current features have been implemented

- [Virtual Accounts Collections](#collections)
- [Virtual Cards](#virtual-cards)
- [Bank Transfer](#bank-transfer)
- [Bill Payments](#bills)
- [Transactions](#transactions)
- [Verifications](#verifications)
- [Webhooks](#webhooks)

### Collections

[](#collections)

#### 1. Generate Collection Account

[](#1-generate-collection-account)

```
$payload = [
    'first_name'=>'John',
    'last_name'=>'Doe',
    'phone'=>'08012345678',
    'email'=>'johndoe@mail.xyz',
    'amount'=>'2000'
];
$response = RavenAtlas::collections()->initiate($payload);

```

### Virtual Cards

[](#virtual-cards)

#### 1. Generate a virtual card

[](#1-generate-a-virtual-card)

```
$payload = [
    'bvn'=> '1234567890',
    'nin'=> '12345678901',
    'phone'=> '080123456789',
    'email'=> 'johndoe@mail.xyz',
    'currency'=> 'usd',
    'amount'=> '20',
    'image'=> 'string'
];

$response = RavenAtlas::cards()->generate($payload);

```

#### 2. Fund Virtual Card

[](#2-fund-virtual-card)

```
$payload = [
    'card_id'=>'62f22f80fc9b4e40441831e9',
    'amount'=>'2000'
];
$response = RavenAtlas::cards()->fund($payload);

```

#### 3. Get Single Virtual Card

[](#3-get-single-virtual-card)

```
$card_id = '62f22f80fc9b4e40441831e9'
$response = RavenAtlas::cards()->getCard($card_id);

```

#### 4. Get All Virtual Cards

[](#4-get-all-virtual-cards)

```
$response = RavenAtlas::cards()->getCards();

```

#### 5. Retrieve all the transactions made with a card

[](#5-retrieve-all-the-transactions-made-with-a-card)

```
$card_id = '62f22f80fc9b4e40441831e9';
$transactions = RavenAtlas::cards()->transactions($card_id);

```

#### 6. Freeze a Virtual Card

[](#6-freeze-a-virtual-card)

```
$payload = [
    'card_id'=>'62f22f80fc9b4e40441831e9'
];
$response = RavenAtlas::cards()->freeze($payload);

```

#### 7. Unfreeze a Virtual Card

[](#7-unfreeze-a-virtual-card)

```
$payload = [
    'card_id'=>'62f22f80fc9b4e40441831e9'
];
$response = RavenAtlas::cards()->unfreeze($payload);

```

#### 8. Withdraw from Card into Raven Atlas Account

[](#8-withdraw-from-card-into-raven-atlas-account)

```
$payload = [
    'card_id'=>'62f22f80fc9b4e40441831e9',
    'amount'=>'2000'
];
$response = RavenAtlas::cards()->withdraw($payload);

```

#### 9. Enable email notifications for card

[](#9-enable-email-notifications-for-card)

```
$response = RavenAtlas::cards()->alert();

```

#### 10. Retrieve fees and conversion rate for cards

[](#10-retrieve-fees-and-conversion-rate-for-cards)

```
$response = RavenAtlas::cards()->fees();

```

### Bank Transfer

[](#bank-transfer)

#### 1. Retrieve Bank List

[](#1-retrieve-bank-list)

```
$response = RavenAtlas::transfers()->banks();

```

#### 2. Make a new transfer

[](#2-make-a-new-transfer)

```
$payload = [
    'amount'=> '2000',
    'bank'=>'Access Bank',
    'bank_code'=>'044',
    'currency'=>'NGN',
    'account_number'=>'1234567890',
    'account_name'=>'John Doe',
    'narration'=>'Transfer to John Doe account',
    'reference'=>'rv_1234567890987654321'
];
$response = RavenAtlas::transfers()->initiate($payload);

```

#### 3. Lookup an account number

[](#3-lookup-an-account-number)

```
$payload = [
    'bank'=>'035',
    'account_number'=>'7790913943'
];
$response = RavenAtlas::transfers()->findAccount($payload);

```

#### 4. Retrieve a single transfer transaction

[](#4-retrieve-a-single-transfer-transaction)

```
$trx_ref = '202206041843ACJHBAJ';
$response =  RavenAtlas::transfers()->getTransfer($trx_ref);

```

### Transactions

[](#transactions)

#### 1. Retrieve all Transactions

[](#1-retrieve-all-transactions)

```
$response =  RavenAtlas::transactions()->all();

```

### Bills

[](#bills)

#### 1. Retrieve mobile data plans

[](#1-retrieve-mobile-data-plans)

```
$response = RavenAtlas::bills()->dataPlans();

```

#### 2. Purchase Data Plan

[](#2-purchase-data-plan)

```
$payload = [
    'code'=>'glo100',
    'phone_number'=>'09052137639',
    'provider_code'=>'1',
    'merchant_reference'=>'123456'
];
$response = RavenAtlas::bills()->purchaseData($payload);

```

#### 3. Retrieve All Data Records

[](#3-retrieve-all-data-records)

```
$response = RavenAtlas::bills()->dataRecords();

```

### Verifications

[](#verifications)

#### 1. BVN

[](#1-bvn)

```
$payload = [
    'bvn'=>'22278595765'
];
$response = RavenAtlas::verifications()->bvn($payload);

```

#### 2. NIN

[](#2-nin)

```
$payload = [
    'nin'=>'87223631145'
];
$response = RavenAtlas::verifications()->nin($payload);

```

#### 3. PVC

[](#3-pvc)

```
$payload = [
    'vin'=>'90F5B23A8C532428586'
];
$response = RavenAtlas::verifications()->pvc($payload);

```

#### 4. International Passport

[](#4-international-passport)

```
$payload = [
    'passport_number'=>'B54386879',
    'first_name'=>'JOHN',
    'last_name'=>'DOE',
    'date_of_birth'=>'1997-08-06',
    'phone_number'=>'075456612902'
];
$response = RavenAtlas::verifications()->passport($payload);

```

#### 5. Driver's License

[](#5-drivers-license)

```
$payload = [
    'license_number'=>'RUM47482AA01',
    'full_name'=>'JOHN DOE',
    'date_of_birth'=>'1995-08-06',
    'phone_number'=>'075456612902'
];
$response = RavenAtlas::verifications()->passport($payload);

```

#### 6. Image match with BVN or NIN

[](#6-image-match-with-bvn-or-nin)

```
$payload = [
    'image'=>'@file',
    'type'=>'bvn',
    'token'=>'22278595765',
];
$response = RavenAtlas::verifications()->imageMatch($payload);

```

### Webhooks

[](#webhooks)

Go to `app/Http/Middleware/VerifyCsrfToken.php` and add the web route handling your webhook to the `$except` array

```
protected $except = [
    '/webhook/raven',
];

```

Setup a function in your controller to handle the webhook.

```
public function webhook(Request $request)
  {
    // This verifies the webhook
    $verify = RavenAtlas::verifyWebhook();
    if ($verify == true) {
        // do something with the webhook payload
        ...
        return response()->json("OK", 200);
    }
    return response()->json("Error", 400);
  }

```

License
-------

[](#license)

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

> This project is still a work in progress.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

Every ~0 days

Total

2

Last Release

901d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e7ac535a8667bc0ccd0019d97ba5b841dca054322df41edff28fd48d47d4c9c?d=identicon)[localdev](/maintainers/localdev)

---

Top Contributors

[![Michael-Ilesanmi](https://avatars.githubusercontent.com/u/73822899?v=4)](https://github.com/Michael-Ilesanmi "Michael-Ilesanmi (6 commits)")

---

Tags

atlasbankingfintechlaravellaravel-packagelaravel-ravenlaravel-raven-bankphpraven-bankphplaravelgithubpaymentsopen-sourceravenlocaldevRaven BankRaven Atlasget ravengetravenravenbankgetravenbank

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/localdev-laravel-raven-atlas/health.svg)

```
[![Health](https://phpackages.com/badges/localdev-laravel-raven-atlas/health.svg)](https://phpackages.com/packages/localdev-laravel-raven-atlas)
```

###  Alternatives

[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

650975.6k11](/packages/unicodeveloper-laravel-paystack)[prevailexcel/laravel-nowpayments

A Laravel Package for NOWPayments

1414.2k](/packages/prevailexcel-laravel-nowpayments)[thepeer/sdk

Thepeer official Laravel SDK

272.8k](/packages/thepeer-sdk)

PHPackages © 2026

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