PHPackages                             pbxg33k/flaresolverr-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pbxg33k/flaresolverr-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

pbxg33k/flaresolverr-bundle
===========================

A Symfony bundle to easily make use of FlareSolverr

0.0.3(11mo ago)01MITPHPCI passing

Since Jul 23Pushed 11mo agoCompare

[ Source](https://github.com/PBXg33k/flaresolverr-bundle)[ Packagist](https://packagist.org/packages/pbxg33k/flaresolverr-bundle)[ RSS](/packages/pbxg33k-flaresolverr-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (9)Versions (5)Used By (0)

[![Coverage Status](https://camo.githubusercontent.com/a6e9a102758d0f9a46f6035736834bfb55589cf9258712531361e644cece1dbe/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f5042586733336b2f666c617265736f6c766572722d62756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/PBXg33k/flaresolverr-bundle?branch=master)

FlareSolverrBundle
==================

[](#flaresolverrbundle)

This Symfony bundle provides an easy way to integrate the [FlareSolverr](https://github.com/FlareSolverr/FlareSolverr) proxy service into your Symfony applications. FlareSolverr is a proxy server to bypass Cloudflare's anti-bot page, allowing you to scrape websites protected by Cloudflare.

Installation
============

[](#installation)

============

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require pbxg33k/flaresolverr-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Create the bundle config file (for now)

[](#step-1-create-the-bundle-config-file-for-now)

Create a file named `flare_solverr.yaml` in the `config/packages/` directory of your Symfony project. This file will contain the configuration for the FlareSolverrBundle.

```
# config/packages/flare_solverr.yaml
flare_solverr:
    # The URL of the FlareSolverr server
    url: 'http://localhost:8191' # note that this url lacks the '/v1' suffix, which is added automatically by the bundle
    ### Optional
    session:
        id: 'fixed-session-id' # Optional: If you want to use a fixed session ID, set it here
        ttl_timeout: 3600 # Optional: Set a custom TTL for the session in seconds (default is 3600 seconds)
```

### Step 2: Download the Bundle

[](#step-2-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require pbxg33k/flaresolverr-bundle
```

### Step 3: Enable the Bundle

[](#step-3-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
        Pbxg33k\FlareSolverrBundle\FlareSolverrBundle::class => ['all' => true],
];
```

Usage
=====

[](#usage)

To use the FlareSolverrBundle, you can inject the `FlareSolverrClient` service into your controllers or services. Here's an example of how to use it in a controller:

```
// src/Controller/ExampleController.php
namespace App\Controller;

use Pbxg33k\FlareSolverrBundle\Client\FlareSolverrClient;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;

class ExampleController extends AbstractController
{
    public function __construct(
        private(set) FlareSolverrClient $flareSolverrClient
    )
    {
    }

    public function index(): Response
    {
        $response = $this->flareSolverrClient->requestGet('https://example.com');

        $HTMLContentAsString  = $response->getResponseContent();
        $HTMLDocumentAsDOMDocument = $response->getResponseContentAsHTMLDocument();

        // Do your magic with the response here
    }
}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance51

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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 ~0 days

Total

3

Last Release

346d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/056e16095aa1c6f1b8c0f914ca98d0d00fa7289d5c5c78d95face22210102ad5?d=identicon)[PBX\_g33k](/maintainers/PBX_g33k)

---

Top Contributors

[![PBXg33k](https://avatars.githubusercontent.com/u/1777196?v=4)](https://github.com/PBXg33k "PBXg33k (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pbxg33k-flaresolverr-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pbxg33k-flaresolverr-bundle/health.svg)](https://phpackages.com/packages/pbxg33k-flaresolverr-bundle)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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