Download the PHP package nzovopay/noderpay-laravel without Composer

On this page you can find all versions of the php package nzovopay/noderpay-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package noderpay-laravel

nzovopay/noderpay-laravel

Laravel service provider, facade, config, and Artisan tooling for the NoderPay API. This package is a thin wrapper around noderpay/noderpay-php — it contains no NoderPay API logic of its own.

Requirements

Installation

The service provider and NoderPay facade are registered automatically via Laravel package discovery — no manual registration needed.

Publish the config file:

This creates config/noderpay.php. Add the following to your .env:

NODERPAY_BASE_URL and NODERPAY_WEBHOOK_SECRET are optional. The base URL defaults to the production API; only override it for a sandbox/test environment.

Usage

Facade

Dependency injection

Both the facade and constructor injection resolve the same singleton instance from the container — there's only ever one configured client per request.

Testing the connection

This command never prints your full API key. On failure, it reports the API's error message and exits non-zero, so it's safe to use in deploy-verification scripts.

Webhooks

This package does not register a webhook route or controller for you — NoderPay account setups and route naming vary too much per app to guess safely. Register your own route and controller using the facade:

Remember to exclude this route from CSRF protection (Laravel's VerifyCsrfToken middleware), since NoderPay's webhook requests won't carry a Laravel session/CSRF token.

Signature verification caveat: the Merchant-Sig header format (sha256=<hex digest>) and algorithm (HMAC-SHA256) are confirmed, but the exact signing input has only been verified as "the raw request body" — see the SDK's own README for details. Always pass $request->getContent() (the raw body), never $request->all() or re-encoded JSON, since re-serialization can change byte-for-byte content and break signature verification even with a correct secret.

Configuration reference

Config key Env variable Default
api_key NODERPAY_API_KEY — (required)
store_id NODERPAY_STORE_ID — (required)
base_url NODERPAY_BASE_URL https://api.noderpay.com
webhook_secret NODERPAY_WEBHOOK_SECRET null
timeout NODERPAY_TIMEOUT 25
connect_timeout NODERPAY_CONNECT_TIMEOUT 5
max_retries NODERPAY_MAX_RETRIES 2
debug NODERPAY_DEBUG false

If api_key or store_id is missing when the container tries to resolve the NoderPay client, a RuntimeException is thrown immediately with a message telling you which env vars to set — not a confusing failure deep inside an HTTP call.

Testing this package

Tests use Orchestra Testbench to boot a minimal Laravel app, and a mocked HTTP handler for the Artisan command test — no live NoderPay credentials or network access required.

License

MIT. See LICENSE.


All versions of noderpay-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0
nzovopay/noderpay-php Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nzovopay/noderpay-laravel contains the following files

Loading the files please wait ...