Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ferror/phpstan-braintree

The PHPStan Braintree SDK Extension
https://github.com/ferror/phpstan-braintree

braintree-sdk php phpstan phpstan-extension

Last synced: 5 days ago
JSON representation

The PHPStan Braintree SDK Extension

Awesome Lists containing this project

README

        

[![Build Status](https://github.com/ferror/phpstan-braintree/actions/workflows/ci.yaml/badge.svg)](https://github.com/ferror/phpstan-braintree/actions/workflows/ci.yaml)
[![Latest Stable Version](https://poser.pugx.org/ferror/phpstan-braintree/v)](https://packagist.org/packages/ferror/phpstan-braintree)
[![Total Downloads](https://poser.pugx.org/ferror/phpstan-braintree/downloads)](https://packagist.org/packages/ferror/phpstan-braintree)
[![License](https://poser.pugx.org/ferror/phpstan-braintree/license)](https://packagist.org/packages/ferror/phpstan-braintree)

# PHPStan for Braintree SDK

## Story
The first author of phpstan-braintree extension is Matěj [Finwe](https://github.com/finwe) Humpál who started creating this extension,
but the last commit is from 2017. Now it's been a couple of years and my company [Landingi](https://github.com/Landingi) is using
the Braintree PHP SDK, that's why I decided to fork the solution and improve it by creating more classes reflection.

## Requirements
* PHP 8.0 and above
* braintree/braintree_php 6.5 and above
* PHPStan 1.2 and above

## Installation
```bash
composer require --dev ferror/phpstan-braintree
```

```neon
extensions:
- vendor/ferror/phpstan-braintree/extension.neon
```