PHPackages                             kevinem/wepay-laravel - 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. kevinem/wepay-laravel

ActiveLibrary[Payment Processing](/categories/payments)

kevinem/wepay-laravel
=====================

Laravel 5 wrapper for WePay

0.1.0(9y ago)250.9k—9.4%[1 PRs](https://github.com/kevinem/wepay-laravel/pulls)MITPHP

Since Jan 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kevinem/wepay-laravel)[ Packagist](https://packagist.org/packages/kevinem/wepay-laravel)[ RSS](/packages/kevinem-wepay-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

WePay for Laravel 5
===================

[](#wepay-for-laravel-5)

[![Latest Stable Version](https://camo.githubusercontent.com/64d0814ce31244f9b6bb3bd3fe0e1ca4eef2d86974440b84c80d317ddd1acc76/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e656d2f77657061792d6c61726176656c2f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/kevinem/nonprofit-explorer-laravel)[![License](https://camo.githubusercontent.com/234b65d2b751b7727a3132d18b165aae0f8d80da04e61566e29ac02008dd1f90/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e656d2f77657061792d6c61726176656c2f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/kevinem/nonprofit-explorer-laravel)[![Build Status](https://camo.githubusercontent.com/8aa46688ebf933a51ead794387a4c9e1c52930091814838cbeeed74c8530e643/68747470733a2f2f7472617669732d63692e6f72672f6b6576696e656d2f77657061792d6c61726176656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kevinem/nonprofit-explorer-laravel)

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

[](#installation)

To install, use composer:

```
composer require kevinem/wepay-laravel

```

Documentation
-------------

[](#documentation)

Configuration
-------------

[](#configuration)

After installing the package, register the `KevinEm\WePay\Laravel\Providers\WePayServiceProvider::class`in your `config/app.php` configuration file:

```
'providers' => [
    // Other service providers...

    KevinEm\WePay\Laravel\Providers\WePayServiceProvider::class,
],
```

Also, you can add the `WePayLaravel` facade to the `aliases` array in your `config/app.php` configuration file:

```
'aliases' => [
    // Other facades...

    'WePayLaravel' => KevinEm\WePay\Laravel\Facades\WePayLaravel::class,
],
```

Publish the config using the following command:

```
$ php artisan vendor:publish
```

Example Usage
-------------

[](#example-usage)

```
$account = [
    'name' => 'some account name',
    'description' => 'a description',
    'type' => 'personal',
    'image_uri' => 'https://someurl.com',
    'gaq_domains' => [],
    'mcc' => 7299,
    'country' => 'US',
    'currencies' => ['USD']
];

\WePayLaravel::account()->create($account);

$membership = [
    'account_id' => 'some_account_id',
    'member_access_token' => 'access_token',
    'role' => 'admin',
    'admin_context' => [
        'reason' => 'beneficiary'
    ]
];

\WePayLaravel::accountMembership()->create($membership);

// assuming user access token is stored
$user_access_token = $user->getAccessToken();
\WePayLaravel::account($user_access_token)->modify([
    'name' => 'updated account name'
]);
```

License
-------

[](#license)

The MIT License (MIT) Copyright (c) 2017 Kevin Em

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3395d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1052f7f9e025a7c653f8eb24d926283c98c7c0671fa9c9d1f5c63799b9851dde?d=identicon)[kevinem](/maintainers/kevinem)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kevinem-wepay-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/kevinem-wepay-laravel/health.svg)](https://phpackages.com/packages/kevinem-wepay-laravel)
```

###  Alternatives

[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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