PHPackages                             abaza/laravel-nowpayments-update - 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. [API Development](/categories/api)
4. /
5. abaza/laravel-nowpayments-update

ActiveLibrary[API Development](/categories/api)

abaza/laravel-nowpayments-update
================================

A Laravel Package for NOWPayments

06PHP

Since Oct 8Pushed 1y agoCompare

[ Source](https://github.com/Seif-Abaza/laravel-nowpayments-update)[ Packagist](https://packagist.org/packages/abaza/laravel-nowpayments-update)[ RSS](/packages/abaza-laravel-nowpayments-update/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-nowpayments
===================

[](#laravel-nowpayments)

[![Latest Stable Version](https://github.com/Seif-Abaza/laravel-nowpayments-update.git/v/stable.svg)](https://github.com/Seif-Abaza/laravel-nowpayments-update.git)[![License]()](LICENSE.md)

> A Laravel Package for working with NOWPayments seamlessly

> This package comes now with a default dashboard that show the list of all payments and also shows a log of endpoints that have been accessed from your application, fluent methods to handle payments easily and removes the bulk of the heavy work from you.

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

[](#installation)

[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel NOWPayments, simply require it

```
composer require abaza/laravel-nowpayments
```

Or add the following line to the require block of your `composer.json` file.

```
"abaza/laravel-nowpayments": "1.0.*"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

Once Laravel NOWPayments is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

```
'providers' => [
    ...
    Abaza\Nowpayments\NowpaymentsServiceProvider::class,
    ...
]
```

> If you use **Laravel &gt;= 5.5** you can skip this step and go to [**`configuration`**](https://github.com/Abaza/laravel-nowpayments#configuration)

- `Abaza\Nowpayments\NowpaymentsServiceProvider::class`

Also, register the Facade like so:

```
'aliases' => [
    ...
    'Nowpayments' => Abaza\Nowpayments\Facades\Nowpayments::class,
    ...
]
```

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

[](#configuration)

You can publish the configuration file using this command:

```
php artisan vendor:publish --provider="Abaza\Nowpayments\NowpaymentsServiceProvider"
```

A configuration-file named `nowpayments.php` with some sensible defaults will be placed in your `config` directory:

```
