bavix/laravel-wallet

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "bavix/laravel-wallet",
  "description": "It's easy to work with a virtual wallet.",
  "keywords": [
    "laravel",
    "credits",
    "bavix",
    "currency",
    "laravel-wallet",
    "laravel-package",
    "virtual",
    "wallet",
    "payments"
  ],
  "minimum-stability": "stable",
  "homepage": "https://bavix.github.io/laravel-wallet/",
  "license": "MIT",
  "authors": [
    {
      "name": "Babichev Maxim",
      "email": "info@babichev.net"
    }
  ],
  "require": {
    "php": "^8.2",
    "ext-json": "*",
    "ext-pdo": "*",
    "brick/math": "~0.10",
    "illuminate/contracts": "^11.0",
    "illuminate/database": "^11.0",
    "ramsey/uuid": "^4.0"
  },
  "require-dev": {
    "driftingly/rector-laravel": "^1.0",
    "ergebnis/phpstan-rules": "^2.1",
    "infection/infection": "~0.27",
    "larastan/larastan": "^2.8",
    "laravel/cashier": "^15.0",
    "nunomaduro/collision": "^8.0",
    "orchestra/testbench": "^9.0",
    "phpstan/phpstan": "^1.10",
    "phpunit/phpunit": "^11.0",
    "rector/rector": "^1.0",
    "symplify/easy-coding-standard": "^12.1"
  },
  "suggest": {
    "bavix/laravel-wallet-swap": "Addition to the laravel-wallet library for quick setting of exchange rates",
    "bavix/laravel-wallet-uuid": "Addition to the laravel-wallet library uuid support in laravel-wallet",
    "bavix/laravel-wallet-warmup": "Addition to the laravel-wallet library for refresh balance wallets"
  },
  "autoload": {
    "psr-4": {
      "Bavix\\Wallet\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Bavix\\Wallet\\Test\\": "tests/"
    }
  },
  "scripts": {
    "parabench":"@php ./vendor/bin/testbench package:test --coverage-xml=build/coverage-xml --log-junit=build/junit.xml",
    "infect": "@php vendor/bin/infection --coverage=build --min-msi=50 -j$(nproc) --only-covering-test-cases",
    "phpstan": ["@phpstan-src", "@phpstan-tests"],
    "phpstan-src": "@php vendor/bin/phpstan analyse -vvv --memory-limit 2G -c phpstan.src.neon",
    "phpstan-tests": "@php vendor/bin/phpstan analyse -vvv --memory-limit 2G -c phpstan.tests.neon",
    "phpstan-baseline": ["@phpstan-baseline-src", "@phpstan-baseline-tests"],
    "phpstan-baseline-src": "@php vendor/bin/phpstan analyse -vvv --memory-limit 2G -c phpstan.src.neon --generate-baseline phpstan.src.baseline.neon",
    "phpstan-baseline-tests": "@php vendor/bin/phpstan analyse -vvv --memory-limit 2G -c phpstan.tests.neon --generate-baseline phpstan.tests.baseline.neon",
    "ecs": "@php vendor/bin/ecs check",
    "ecs-fix": "@php vendor/bin/ecs check --fix",
    "ecs-cc": "@php vendor/bin/ecs --clear-cache",
    "rector": "@php vendor/bin/rector process --dry-run",
    "rector-fix": "@php vendor/bin/rector process"
  },
  "extra": {
    "laravel": {
      "providers": [
        "Bavix\\Wallet\\WalletServiceProvider"
      ]
    }
  },
  "config": {
    "process-timeout":0,
    "sort-packages": true,
    "allow-plugins": {
      "infection/extension-installer": true
    }
  }
}