Download the PHP package alissonlinneker/xgate-php-sdk without Composer

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

XGate PHP SDK

PHP Version Build Status

SDK PHP para integração com a API da XGate Global. Suporte completo para operações financeiras, criptomoedas e PIX.

Pré-requisitos

Instalação

Ou adicione no seu composer.json:

Como usar

Exemplos práticos

Operações com Crypto

Operações PIX

Tratamento de erros

Paginação

Logging

Custom HTTP Client

Rate Limiting

Money Formatting

Validation

Configuration Options

Option Type Default Description
email string required Authentication email
password string required Authentication password
base_url string https://api.xgateglobal.com API base URL
timeout int 30 Request timeout in seconds
retry_attempts int 3 Number of retry attempts
cache_ttl int 3600 Token cache TTL in seconds
verify_ssl bool true SSL certificate verification
debug bool false Enable debug mode
http_client ClientInterface null Custom HTTP client

Environment Variables

You can use environment variables for configuration. Copy .env.example to .env:

Then load configuration from environment:

Testing

Run tests:

Run tests with coverage:

Run specific test suite:

Code Quality

Check code style:

Fix code style:

Run static analysis:

Run all CI checks:

Recursos do PHP 8.4

O SDK usa os recursos mais recentes do PHP 8.4:

Serviços disponíveis

Contribuindo

Contribuições são bem-vindas! Por favor, abra uma issue primeiro para discutir mudanças maiores.

Problemas?

Encontrou algum bug? Abra uma issue.

Autor

Alisson Linneker

Licença

Apache 2.0 - veja o arquivo LICENSE para mais detalhes.


Desenvolvido com PHP 8.4 e muita ☕


All versions of xgate-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-curl Version *
ext-json Version *
ext-mbstring Version *
ext-bcmath Version *
guzzlehttp/guzzle Version ^7.8
monolog/monolog Version ^3.5
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/log Version ^3.0
firebase/php-jwt Version ^6.10
symfony/cache Version ^7.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 alissonlinneker/xgate-php-sdk contains the following files

Loading the files please wait ...