Skip to content

wow-apps/symfony-proxybonanza

Repository files navigation

ProxyBonanza for Symfony 3 and 4

SensioLabsInsight

Packagist Pre Release Packagist Build Status Code Climate Codacy Badge SensioLabsInsight

ProxyBonanza API for Symfony

Symfony 3 and 4 Bundle for easy update, test and use proxy list from ProxyBonanza service.

Requires:

  • PHP 7.0+
  • Symfony 3.0+
  • Guzzle Client 6.0+
  • Doctrine ORM 2.5+

Installation:

Step 1: Download the Bundle

"require": {
        "wow-apps/symfony-proxybonanza": "^2.0.1"
}

or

$ composer require wow-apps/symfony-proxybonanza

Step 2: Enable the Bundle (skip for Symfony 4)

// ./app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new WowApps\ProxybonanzaBundle\WowAppsProxybonanzaBundle(),
    );

    // ...

    return $bundles
}

Step 3: Add configuration

Symfony 3:

# ProxyBonanza API
wow_apps_proxybonanza:
    api_url: "https://api.proxybonanza.com/v1/"
    api_key: "testAPIkey" # API key can be obtained in user panel in 'Account settings'.

Symfony 4:

$ echo "WOW_APPS_PROXYBONANZA_API_KEY={your api key}" >> .env

Step 4: Update DB structure

Run command:

./bin/console doctrine:schema:update --force

Step 5: Test your configuration

Run command to test your configuration:

./bin/console wowapps:proxybonanza:test

Test command result preview

Documentation

News and updates:

Follow news and updates in my Telegram channel @wow_apps_pro or Twitter @alexey_samara_

Changelog:

  • 2.0.1

    • Added copyrights to all php files
    • Added prefix wowapps: to all commands
    • Changed container for Symfony 4 Flex
    • Changed namespaces
    • Removed empty controller and view
  • 2.0.0

    • Added compatibility for Symfony 3.1 up to 4.0