yapro/symfony-http-client-ext

Converts the current / specified Symfony http request to a curl command.

Installs: 85

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/yapro/symfony-http-client-ext

v1.0.3 2021-09-27 04:31 UTC

This package is not auto-updated.

Last update: 2025-10-08 17:04:14 UTC


README

Functions to solve most Symfony HttpClient problems.

How to use

Create a class with the getHttpClient method, example: src/ExampleClass.php

Tests

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

Dev

docker build -t yapro/symfony-http-client-ext:latest -f ./Dockerfile ./
docker run -it --rm -v $(pwd):/app -w /app yapro/symfony-http-client-ext:latest bash
composer install -o