Download the PHP package abumutrust/utrust without Composer

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

Utrust PHP

Test Suite

The official PHP library for the Utrust API.

Minimum Requirements

Install

Install with composer:

Usage

API Client

Creating a new Order:

Check the full example here.

Validations

The Validator class can be used to check your data array before passing it to the API Client. It will throw an exception with the errors array if the validations don't pass, otherwise it will return true:

Webhooks

The Webhook\Event class can be used to verify an incoming event via Webhook. It will throw an exception if the event has an invalid format or invalid signature:

Check the examples/ directory for further details.

Contribute

This library was written and is maintained by the Utrust development team. We have now opened it to the world so that the community using this library may have the chance of shaping its development.

You can contribute by simply letting us know your suggestions or any problems that you find by opening an issue on GitHub.

You can also fork the repository on GitHub and open a pull request for the master branch with your missing features and/or bug fixes. Please make sure the new code follows the same style and conventions as already written code. Our team is eager to welcome new contributors into the mix :blush:.

Tests

When contributing with new changes, please make an effort to provide the respective tests. This is especially important when fixing any problems, as it will prevent other contributors from accidentally reintroducing the issue in the future.

Before submitting a pull request with your changes, please make sure every test passes:

When in doubt whether you caused a test to fail, check the build for master in CircleCI.

Lint

This project uses PHPCodeSniffer with PSR-2 coding stardard.

Before contributing your changes, make sure it passes on the linter:

When in doubt whether you introduced a linter error, check the build for master in CircleCI.

Publish

We are publishing the library to Packagist. We are using semantic versioning to keep track of package changes. To publish a new package version run the following commands:

License

Utrust PHP is maintained with :purple_heart: by the Utrust development team, and is available to the public under the GNU GPLv3 license. Please see LICENSE for further details.

© Utrust 2020


All versions of utrust with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
vlucas/valitron Version ^1.4.7
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 abumutrust/utrust contains the following files

Loading the files please wait ...