yapro/symfony-request-to-curl

将当前/指定的 Symfony HTTP 请求转换为 curl 命令。

v1.0.1 2023-07-11 06:05 UTC

This package is not auto-updated.

Last update: 2024-09-22 23:07:06 UTC


README

将当前/指定的 Symfony HTTP 请求转换为 curl 命令。

重要:已弃用,请使用 yapro/symfony-http-client-ext

测试

docker build -t yapro/symfony-request-to-curl-converter:latest -f ./Dockerfile ./
docker run --rm -v $(pwd):/app yapro/symfony-request-to-curl-converter:latest bash -c "cd /app \
  && composer install --optimize-autoloader --no-scripts --no-interaction \
  && /app/vendor/bin/phpunit /app/tests"

开发

docker build -t yapro/symfony-request-to-curl-converter:latest -f ./Dockerfile ./
docker run -it --rm -v $(pwd):/app -w /app yapro/symfony-request-to-curl-converter:latest bash
composer install -o