Download the PHP package pbxg33k/flaresolverr-bundle without Composer
On this page you can find all versions of the php package pbxg33k/flaresolverr-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pbxg33k/flaresolverr-bundle
More information about pbxg33k/flaresolverr-bundle
Files in pbxg33k/flaresolverr-bundle
Package flaresolverr-bundle
Short Description A Symfony bundle to easily make use of FlareSolverr
License MIT
Informations about the package flaresolverr-bundle
FlareSolverrBundle
This Symfony bundle provides an easy way to integrate the 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
============
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
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.
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:
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:
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:
All versions of flaresolverr-bundle with dependencies
symfony/http-client-contracts Version ^3.6
psr/log Version ^3.0
psr/cache Version ^3.0
psr/event-dispatcher Version ^1.0
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/console Version ^7.3