PHPackages                             yapro/symfony-http-test-ext - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. yapro/symfony-http-test-ext

ActiveLibrary[Testing &amp; Quality](/categories/testing)

yapro/symfony-http-test-ext
===========================

Symfony http testing

v1.0.1(4y ago)0881MITPHPPHP &gt;=7.1

Since May 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yapro/symfony-http-test-ext)[ Packagist](https://packagist.org/packages/yapro/symfony-http-test-ext)[ Docs](http://yapro.ru)[ RSS](/packages/yapro-symfony-http-test-ext/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (1)

symfony-http-test-ext
---------------------

[](#symfony-http-test-ext)

Traits for solving the most common problems.

How to use
----------

[](#how-to-use)

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

What inside
-----------

[](#what-inside)

When you write "YourTest extends \\YaPro\\SymfonyHttpTestExt\\BaseTestCase" you will get the function:

- $this-&gt;getHttpClient() - for working with http client
- $this-&gt;getJsonHelper() - for working with json
- $this-&gt;assertXXX() - for working with assert, example: assertJsonResponse($json)
- etc: [AssertionsTrait](src/AssertionsTrait.php), [ExtTrait](src/ExtTrait.php)

Useful information
------------------

[](#useful-information)

- Доступ к внутренним объектам -
- Профилировщик -
- Http Переадресация -
- Отключаем перехват исключений - .

Tests
-----

[](#tests)

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

Dev
---

[](#dev)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~119 days

Total

2

Last Release

1708d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b05d477ebab02bae019ebde0a8fb3f7977660258439f03a0cbc38ed8bc948435?d=identicon)[Lebnik](/maintainers/Lebnik)

---

Top Contributors

[![yapro](https://avatars.githubusercontent.com/u/263248?v=4)](https://github.com/yapro "yapro (16 commits)")

---

Tags

httpphptestingsymfonylibraryextensions

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yapro-symfony-http-test-ext/health.svg)

```
[![Health](https://phpackages.com/badges/yapro-symfony-http-test-ext/health.svg)](https://phpackages.com/packages/yapro-symfony-http-test-ext)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[osteel/openapi-httpfoundation-testing

Validate HttpFoundation requests and responses against OpenAPI (3+) definitions

1201.9M6](/packages/osteel-openapi-httpfoundation-testing)[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)[doppiogancio/mocked-client

A simple way to mock a client

2174.9k3](/packages/doppiogancio-mocked-client)[lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

2244.3k13](/packages/lastzero-test-tools)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
