The BrowserKit component simulates the behavior of a web browser

Overview
Comments
  • [BrowserKit] Allowing body content from GET with a content-type

    [BrowserKit] Allowing body content from GET with a content-type

    Q | A -- | -- Branch? | master Bug fix? | no New feature? | yes Deprecations? | no Tickets | / License | MIT Doc PR | /

    This allows a GET request to sent a payload if it specifies a content-type in the HTTP header as per our conversation in the ticket 37609

    opened by thiagomp 1
  • Content-Type is no longer overwritten

    Content-Type is no longer overwritten

    Look in the $this->getBodyAndExtraHeaders method that by default return header:

    ['Content-Type' => 'application/x-www-form-urlencoded']
    

    It is error because array_merge collapses arrays using a non-numeric key (non-strict comparison), and takes the value from the second array after collapsing.

    This means that my 'Content-Type' will not be used.

    opened by yapro 1
  • Bugfix/nested files array

    Bugfix/nested files array

    The HttpBrowser doesn't play nicely with Symfony\Component\DomCrawler::getPhpFiles(). The former assumes a flat array structure, while the latter explicitly un-flattens it, causing files to silently get ignored by the DomCrawler's submitForm.

    opened by afilina 1
  • Workaround on false expire time

    Workaround on false expire time

    Created a default method to create a timestamp in case expires time be false. In many apps, I don't why, the browser-kit creates an array with a value with false value, bit the request was made correctly.

    opened by devLopez 1
  • avoid exception with Location header redirects

    avoid exception with Location header redirects

    when a request (eg "/" redirects using a Location: header /de/), an exception occurs because $uri is an header-object and is used as array ($uri[0]). this patch extracts the location uri from the header and continues with the location url. The patch does not solve redirects that expect other headers to be resend (eg auth/post)

    opened by Scyks 1
  • During a successful signing in the session is not saved and the new one i

    During a successful signing in the session is not saved and the new one i

    During a successful signing in the session is not saved and the new one is generated. The problem is that the parameter domain is set for all subdomains, for example: instead of "symfony-project.org" we indicate ".symfony-project.org".

    In this case the method "allValues" returned an empty array.

    opened by ingvar 1
Releases(v6.2.0)
  • v6.2.0(Nov 30, 2022)

  • v6.2.0-RC1(Nov 25, 2022)

  • v6.2.0-BETA3(Nov 19, 2022)

  • v6.2.0-BETA1(Oct 24, 2022)

    Changelog (https://github.com/symfony/browser-kit/compare/v6.1.6...v6.2.0-BETA1)

    • feature #47730 Ban DateTime from the codebase (WebMamba)
    Source code(tar.gz)
    Source code(zip)
  • v6.1.3(Jul 29, 2022)

    Changelog (https://github.com/symfony/browser-kit/compare/v6.1.2...v6.1.3)

    • bug #40828 Merge fields and files recursively if they are multidimensional array (januszmk)
    • bug #46905 fix sending request to paths containing multiple slashes (xabbuh)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.11(Jul 29, 2022)

    Changelog (https://github.com/symfony/browser-kit/compare/v6.0.10...v6.0.11)

    • bug #40828 Merge fields and files recursively if they are multidimensional array (januszmk)
    • bug #46905 fix sending request to paths containing multiple slashes (xabbuh)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.11(Jul 29, 2022)

    Changelog (https://github.com/symfony/browser-kit/compare/v5.4.10...v5.4.11)

    • bug #40828 Merge fields and files recursively if they are multidimensional array (januszmk)
    • bug #46905 fix sending request to paths containing multiple slashes (xabbuh)
    Source code(tar.gz)
    Source code(zip)
  • v4.4.44(Jul 29, 2022)

    Changelog (https://github.com/symfony/browser-kit/compare/v4.4.43...v4.4.44)

    • bug #40828 Merge fields and files recursively if they are multidimensional array (januszmk)
    • bug #46905 fix sending request to paths containing multiple slashes (xabbuh)
    Source code(tar.gz)
    Source code(zip)
  • v6.1.0(May 27, 2022)

  • v6.1.0-RC1(May 14, 2022)

  • v6.1.0-BETA1(Apr 15, 2022)

    Changelog (https://github.com/symfony/browser-kit/compare/v6.0.7...v6.1.0-BETA1)

    • feature #45515 Add toArray to Response (HypeMC)
    • feature #45377 Bump minimum version of PHP to 8.1 (nicolas-grekas)
    Source code(tar.gz)
    Source code(zip)
  • v6.0.3(Jan 28, 2022)

  • v5.4.3(Jan 28, 2022)

  • v5.3.14(Jan 28, 2022)

  • v4.4.37(Jan 28, 2022)

  • v5.4.2(Dec 29, 2021)

  • v6.0.1(Dec 9, 2021)

  • v6.0.0(Nov 29, 2021)

  • v5.4.0(Nov 29, 2021)

  • v6.0.0-RC1(Nov 24, 2021)

  • v5.4.0-RC1(Nov 24, 2021)

  • v6.0.0-BETA1(Nov 5, 2021)

    Changelog (https://github.com/symfony/browser-kit/compare/v5.3.10...v6.0.0-BETA1)

    • feature #41282 Bump Symfony 6 to PHP 8 (nicolas-grekas)
    Source code(tar.gz)
    Source code(zip)
  • v5.4.0-BETA1(Nov 5, 2021)

  • v5.3.4(Jul 26, 2021)

  • v5.2.12(Jul 26, 2021)

  • v4.4.27(Jul 26, 2021)

  • v5.2.10(Jun 1, 2021)

  • v4.4.25(Jun 1, 2021)

  • v5.3.0(May 31, 2021)

  • v5.3.0-RC1(May 19, 2021)

    Changelog (https://github.com/symfony/browser-kit/compare/v5.3.0-BETA4...v5.3.0-RC1)

    • bug #41240 Fixed deprecation warnings about passing null as parameter (derrabus)
    Source code(tar.gz)
    Source code(zip)
The Yaml component loads and dumps YAML files.

Yaml Component The Yaml component loads and dumps YAML files. Resources Documentation Contributing Report issues and send Pull Requests in the main Sy

Symfony 3.5k Dec 30, 2022
Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder

PoP PoP is a monorepo containing several projects. The GraphQL API for WordPress plugin GraphQL API for WordPress is a forward-looking and powerful Gr

Leonardo Losoviz 265 Jan 7, 2023
Fork of Symfony Rate Limiter Component for Symfony 4

Rate Limiter Component Fork (Compatible with Symfony <=4.4) The Rate Limiter component provides a Token Bucket implementation to rate limit input and

AvaiBook by idealista 4 Apr 19, 2022
The PasswordHasher component provides password hashing utilities.

PasswordHasher Component The PasswordHasher component provides secure password hashing utilities. Getting Started $ composer require symfony/password-

Symfony 482 Dec 29, 2022
Enter-to-the-Matrix-with-Symfony-Console - Reproduction of the "Matrix characterfall" effect with the Symfony Console component.

Enter to the Matrix (with Symfony Console) Reproduction of the "Matrix characterfall" effect with the Symfony Console component. Run Clone the project

Yoan Bernabeu 23 Aug 28, 2022
Http-kernel - The HttpKernel component provides a structured process for converting a Request into a Response.

HttpKernel Component The HttpKernel component provides a structured process for converting a Request into a Response by making use of the EventDispatc

Symfony 7.8k Jan 9, 2023
The server component of API Platform: hypermedia and GraphQL APIs in minutes

API Platform Core API Platform Core is an easy to use and powerful system to create hypermedia-driven REST and GraphQL APIs. It is a component of the

API Platform 2.2k Dec 27, 2022
Stepup Middleware - This component is part of "Step-up Authentication as-a Service".

Step-up Middleware This component is part of "Step-up Authentication as-a Service". See Stepup-Deploy for an overview and installation instructions fo

OpenConext 4 Nov 2, 2022
Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder

PoP PoP is a monorepo containing several projects. The GraphQL API for WordPress plugin GraphQL API for WordPress is a forward-looking and powerful Gr

Leonardo Losoviz 265 Jan 7, 2023
Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and / or RESTful API

Luracast Restler ![Gitter](https://badges.gitter.im/Join Chat.svg) Version 3.0 Release Candidate 5 Restler is a simple and effective multi-format Web

Luracast 1.4k Dec 14, 2022
A PHP library to support implementing representations for HATEOAS REST web services.

Hateoas A PHP library to support implementing representations for HATEOAS REST web services. Installation Working With Symfony Usage Introduction Conf

William Durand 998 Dec 5, 2022
Aplicación API para consumir el Servicio Web de Descarga Masiva del SAT.

API Descarga Masiva Aplicación API para consumir el Servicio Web de Descarga Masiva del SAT. Note: The documentation of this project is in Spanish, as

phpCfdi 11 Oct 11, 2022
Backend para la aplicación web Calidú

Calidu API En este repositorio podrá encontrar todo el backend correspondiente a la aplicación web Calidú., en complemento con el repositorio Frontend

César Suárez 1 Jan 12, 2022
💰 Self-hosted personal finance tracking web app

FINANCE FINANCE is a simple yet powerful, self-hosted personal finance tracking web app with the ability to parse SMS transactions and generate very u

Saleem Hadad 153 Jan 5, 2023
Doctrine2 behavior traits

Doctrine Behaviors This PHP library is a collection of traits and interfaces that add behaviors to Doctrine entities and repositories. It currently ha

KNP Labs 878 Dec 22, 2022
Laravel 9 Web App - Our client José Gustavo, passionate about soccer and technology, wants to have an application that simulates the soccer leagues in his neighborhood, called My League.

Laravel 9 Web App - Our client José Gustavo, passionate about soccer and technology, wants to have an application that simulates the soccer leagues in his neighborhood, called My League.

Álisson Marques 2 May 3, 2022
Petstore is a sample API that simulates a pet shop management server🐶

Petstore is a sample API that simulates a pet shop management server. The API allows you to access Petstore data using a set of individual calls

Wilmer Rodríguez S 1 Jan 8, 2022
SimSimi Bot - a Telegram ChatBot like the old SimSimi app that simulates a normal chat experience, created directly by users

SimSimi Bot - a Telegram ChatBot like the old SimSimi app that simulates a normal chat experience, created directly by users

NeleB54Gold 4 Oct 21, 2022
KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.

KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.

warlee 5.5k Feb 10, 2022
Clockwork - php dev tools in your browser - server-side component

Clockwork is a development tool for PHP available right in your browser. Clockwork gives you an insight into your application runtime - including requ

its 4.8k Dec 29, 2022