Download the PHP package noxxie/mailtopay-api without Composer

On this page you can find all versions of the php package noxxie/mailtopay-api. 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 mailtopay-api

Mailtopay-API

This package aims into making the interface between the MailtoPay API and PHP easier to use. This package can only be used with version 2 of the Mailtopay APi, version 1 is not supported and is deprecated by Mailtopay.

More information regarding the Mailtopay API can be found on the Mailtopay website.

This project is in open beta, please report any bugs using the issue tracker.

Requirements

Installation

After installation you can use any given endpoint class and use the client class to do the request. See the docs directory for more information regarding the endpoints.

Usage

See the docs directory for information for each endpoint. You can use the client class to do the actuall request. ``

The id, passphrase and base_uri are provided information from Mailtopay.

Validation

This package aims to validate any provided data as much as possible in order to give back invalid that where possible before the request is send to the API. When a invalid parameter is set a InvalidParameterException exception will be thrown.

However it is always possible that you enter some wierd combination of data that this package does not validate for. The API also does a validation check and when a error rises from the API an error response is returned. You can pick those up with the ResponseException exception.

tests

Running tests with phpunit

Versioning

We use SemVer for versioning.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details


All versions of mailtopay-api with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ~6.0
nesbot/carbon Version ^2.25
illuminate/validation Version ^6.2
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 noxxie/mailtopay-api contains the following files

Loading the files please wait ....