Download the PHP package niush/laravel-nano-to without Composer

On this page you can find all versions of the php package niush/laravel-nano-to. 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 laravel-nano-to

Laravel NANO.TO

Easily integrate Nano.to Payment Gateway in Laravel Application, with full control.

Latest Stable Version Total Downloads PHP Version Require GitHub Actions

Installation on Laravel

You can install the package via composer:

Then publish the config file using artisan.

Update config file (config/nano-to.php) with your desired settings. Use env where ever required.

Configuration

Add Nano Webhook Secret in your env file. Make sure it is difficult to guess with random string. DO NOT USE SAME AS APP_ENV.

Go through the generated config file and update as required. Make sure the Nano address all belongs to you and is accessible. You can provide, default title and description.

Required Named Routes

For this to work properly, you must have these 3 named routes created to handle your business logic. The named route can always be customized in config file.

Using Full Route Instead:

By default the config accepts named route for webhook and success page. If you want to use full route, for cases like different domain and backend to handle webhook or success page. You can update the config files success_url, cancel_url and webhook_url to be a full URL with domain name.

As, you have full control, it can easily be implemented via APIs also.

Usage

NOTE: Amount is always in USD Currency.

For initiating Payment process:

You might want to use custom Webhook Secret. So that, it is always different for each checkout. So, instead of using same environment variable. You can do:

Webhook Response Example

Full Example of Webhook Controller

Click to expand!

Advanced Usage (API / Helpers)

View details and response here

Translation

Add translation for these messages if required.

Testing

Contributions are welcome.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email author instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Nano.to is a product of Forward Miami, LLC. ⚡

Help me with Nano?

1) What is Nano?

[Nano](https://nano.org/) is a Fee-less, Eco-friendly, Instant digital money for the modern world.

1) How to verify or view block information of my transaction?

https://nanolooker.com/block/{HASH}

Show Support

Send via Nano.to

nano_378shkx4k3wd5gxmj3xnjwuxtaf9xrehyz7ugakpiemh8arxq8w9a9xniush


All versions of laravel-nano-to with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
guzzlehttp/guzzle Version ^7.3
illuminate/support Version ^6.0|^7.0|^8.0|^9.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 niush/laravel-nano-to contains the following files

Loading the files please wait ....