eresbiotech/iyzico-sylius

该软件包已被废弃,不再维护。未建议替代软件包。

Iyzico支付插件,适用于Sylius应用

安装: 59

依赖: 0

建议者: 0

安全性: 0

星星: 6

关注者: 5

分支: 2

开放问题: 4

类型:sylius-plugin

This package is auto-updated.

Last update: 2024-07-24 16:12:36 UTC


README

Scrutinizer Code Quality Build Status

sylius的网关插件

安装

  1. 运行 composer require eresbiotech/iyzico-sylius
  2. -wip-

用法

运行插件测试

  • PHPUnit

    $ vendor/bin/phpunit
  • PHPSpec

    $ vendor/bin/phpspec run
  • Behat(非JS场景)

    $ vendor/bin/behat --tags="~@javascript"
  • Behat(JS场景)

    1. 下载 Chromedriver

    2. 下载 Selenium Standalone Server

    3. 使用之前下载的Chromedriver运行Selenium服务器

      $ java -Dwebdriver.chrome.driver=chromedriver -jar selenium-server-standalone.jar
    4. localhost:8080 上运行测试应用的web服务器

      $ (cd tests/Application && bin/console server:run localhost:8080 -d public -e test)
    5. 运行Behat

      $ vendor/bin/behat --tags="@javascript"

使用您的插件打开Sylius

  • 使用 test 环境

    $ (cd tests/Application && bin/console sylius:fixtures:load -e test)
    $ (cd tests/Application && bin/console server:run -d public -e test)
  • 使用 dev 环境

    $ (cd tests/Application && bin/console sylius:fixtures:load -e dev)
    $ (cd tests/Application && bin/console server:run -d public -e dev)