PHPackages                             highjhacker/laravel-paybear - 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. highjhacker/laravel-paybear

ActiveLibrary[Payment Processing](/categories/payments)

highjhacker/laravel-paybear
===========================

Laravel integration for PayBear

05PHP

Since Feb 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Highjhacker/paybear-laravel)[ Packagist](https://packagist.org/packages/highjhacker/laravel-paybear)[ RSS](/packages/highjhacker-laravel-paybear/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

***WIP : Don't use at the moment.***

Laravel Paybear
===============

[](#laravel-paybear)

> Laravel package allowing to use Paybear with ease.

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

[](#installation)

With composer

```
$ composer require highjhacker/laravel-paybear
```

Usage example
-------------

[](#usage-example)

Publish the migration and config file from the package :

```
$ php artisan vendor:publish --provider="Highjhacker\Paybear\PaybearServiceProvider" --tag="migrations"
$ php artisan vendor:publish --provider="Highjhacker\Paybear\PaybearServiceProvider" --tag="config"
```

Next, run the migration :

```
$ php artisan migrate
```

Finally, setup your environment variables by creating an `.env` file and adding your credentials to it :

```
PAYBEAR_PUBLIC_KEY='mypublickey'
PAYBEAR_PRIVATE_KEY='myprivatekey'
PAYBEAR_CALLBACK_URL='https://my.callback.url'
```

Initialize the client :

```
use Highjhacker\Paybear\Connection

$connection = new Connection(['host' => 'https://api.paybear.io']);
...
```

Get activated currencies on the Paybear account :

```
$connection->paybear()->getCurrencies();
```

Create payment request :

```
# First parameter is the cryptocurrency to accept (eth, btc, bch, ltc, dash, btg, etc)
# Second parameter is the OrderID to use for making a callback
$connection->paybear()->createPaymentRequest('eth', '7e691214bebe31eaa4b813c59825391b');
```

Callback :

```
# To implement
```

Get market rates for all cryptocurrencies :

```
# By default using euro
$connection->paybear()->getMarketRates();

# Or with dollar
$connection->paybear()->getMarketRates('usd');
```

Get market rate for a specific cryptocurrency :

```
# By default with the rate of BTC in euros
$connection->paybear()->getMarketRate();

# Or
$connection->paybear()->getMarketRate('usd', 'eth');
```

Development setup
-----------------

[](#development-setup)

```
TODO
```

Release History
---------------

[](#release-history)

- 0.0.1
    - Work in progress

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

[](#contributing)

1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

Credits
-------

[](#credits)

- [Highjhacker](https://github.com/Highjhacker)
- [Brian Faust](https://github.com/faustbrian)

License
-------

[](#license)

Distributed under the MIT license. See [LICENSE](https://github.com/Highjhacker/paybear-laravel/blob/master/LICENSE) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf3e101f0869b569f9f538dff2b80889f8c015e24189e039c3b99783f42f56a5?d=identicon)[highjhacker](/maintainers/highjhacker)

---

Top Contributors

[![Highjhacker](https://avatars.githubusercontent.com/u/5347826?v=4)](https://github.com/Highjhacker "Highjhacker (11 commits)")

### Embed Badge

![Health badge](/badges/highjhacker-laravel-paybear/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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