Download the PHP package tomasmanueltm/apypayment without Composer

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

bash composer require tomasmanueltm/apypayment bash

Publicar tudo

php artisan apypayment:publish

Ou publicar individualmente

php artisan vendor:publish --tag=apypayment-config php artisan vendor:publish --tag=apypayment-migrations bash php artisan migrate ini

Credenciais AppyPay (obrigatório)

APY_CLIENT_ID=seu_client_id_aqui APY_CLIENT_SECRET=seu_client_secret_aqui APY_RESOURCE=2aed7612-de64-46b5-9e59-1f48f8902d14 APY_GRANT_TYPE=client_credentials ini

Ambiente (teste/produção)

APY_API_URL=https://gwy-api-tst.appypay.co.ao/v2.0 APY_AUTH_URL=https://login.microsoftonline.com/appypaydev.onmicrosoft.com/oauth2/token

Performance e Segurança

APY_HTTP_TIMEOUT=30 APY_HTTP_VERIFY_SSL=false

Logs e Debug

APY_LOG_LEVEL=info APY_DEBUG_MODE=false

src/ ├── Domain/ # Regras de negócio │ └── Payment/ │ ├── Entities/ # Entidades do domínio │ ├── ValueObjects/# Objetos de valor │ └── Repositories/# Contratos de repositório ├── Application/ # Casos de uso │ └── Services/ # Serviços de aplicação ├── Infrastructure/ # Implementações técnicas │ └── Repositories/ # Repositórios concretos └── Services/ # Serviços de integração bash composer test bash composer test-coverage bash

Verificar configuração

php artisan config:cache php artisan config:clear ini APY_HTTP_VERIFY_SSL=true ini APY_DEBUG_MODE=true LOG_LEVEL=debug



#### Q: Performance lenta?
**A:** Otimize:
- Use cache Redis/Memcached
- Configure timeout adequado
- Implemente retry inteligente

### 📊 Monitoramento

#### Logs Importantes

#### Métricas Recomendadas

- Taxa de sucesso de pagamentos
- Tempo médio de resposta da API
- Frequência de renovação de tokens
- Erros por tipo/código

### 🔒 Segurança

#### Boas Práticas

1. **Nunca** exponha credenciais no código
2. Use HTTPS em produção
3. Valide todos os dados de entrada
4. Implemente rate limiting
5. Monitore tentativas de fraude

## 🤝 Contribuição

1. Faça um fork do projeto
2. Crie uma branch (`git checkout -b feature/SuaFuncionalidade`)
3. Faça commit das mudanças (`git commit -m 'Adiciona nova funcionalidade'`)
4. Faça push para sua branch (`git push origin feature/SuaFuncionalidade`)
5. Abra um Pull Request

## 📄 Licença

Direitos autorais (c) 2025 **TomasManuelTM**

É concedida permissão, gratuitamente, a qualquer pessoa que obtenha uma cópia deste software e seus arquivos de documentação (o “Software”), para usar, copiar, modificar, mesclar, publicar, distribuir, sublicenciar e/ou vender cópias do Software, e permitir o mesmo a terceiros, desde que os avisos de direitos autorais e esta permissão estejam incluídos em todas as cópias relevantes.

O SOFTWARE É FORNECIDO “NO ESTADO EM QUE SE ENCONTRA”, SEM GARANTIAS DE QUALQUER TIPO, EXPRESSAS OU IMPLÍCITAS, INCLUINDO, MAS NÃO SE LIMITANDO A GARANTIAS DE COMERCIALIZAÇÃO, ADEQUAÇÃO A UM FIM ESPECÍFICO E NÃO VIOLAÇÃO. EM NENHUMA CIRCUNSTÂNCIA OS AUTORES SERÃO RESPONSÁVEIS POR QUAISQUER DANOS OU RESPONSABILIDADES DECORRENTES DO USO DESTE SOFTWARE.

## ✉️ Contato

Tomas Manuel — [GitHub](https://github.com/tomasmanueltm) — **[[email protected]](mailto:[email protected])**

## 📈 Changelog

### v1.0.3 (19-09-2025)
- ✅ Implementação completa de DDD
- ✅ Métodos de captura e reembolso
- ✅ Melhorias na documentação
- ✅ Testes unitários completos
- 🐛 Correções de bugs menores

### v1.0.2 (17-07-2025)
- ✅ Sistema de logs aprimorado
- ✅ Gestão automática de tokens
- ✅ Validações de entrada

### v1.0.1 (15-07-2025)
- ✅ Correções de compatibilidade
- ✅ Melhorias de performance

### v1.0.0 (13-07-2025)
- 🎉 Lançamento inicial
- ✅ Integração básica com AppyPay
- ✅ CRUD de pagamentos

---

## 📞 Suporte

- 📧 **Email**: [email protected]
- 🐛 **Issues**: [GitHub Issues](https://github.com/tomasmanueltm/apypayment/issues)
- 📖 **Wiki**: [Documentação Completa](https://github.com/tomasmanueltm/apypayment/wiki)
- 💬 **Discussões**: [GitHub Discussions](https://github.com/tomasmanueltm/apypayment/discussions)

---

**Documentação atualizada em: 15/09/2025**  
**Versão do pacote: 1.0.3**  
**Compatibilidade: Laravel 9.0+ | PHP 8.0+**

All versions of apypayment with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.0
ext-json Version *
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 tomasmanueltm/apypayment contains the following files

Loading the files please wait ...