dunglas/torcontrol-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dunglas/torcontrol-bundle

Composer 安装命令:

composer require dunglas/torcontrol-bundle

包简介

Integration of PHP TorControl library in Symfony

关键字:

README 文档

README

Use the PHP TorControl library with Symfony. TorControl allows to control a Tor server.

Build Status SensioLabsInsight StyleCI

Installation

Use Composer to install this bundle:

composer require dunglas/torcontrol-bundle

Add the bundle to the application kernel:

$bundles = array(
    // ...
    new Dunglas\TorControlBundle\DunglasTorControlBundle(),
);

Configuration

# app/config/config.yml
dunglas_tor_control:
    # Hostname or IP of the Tor server (default to localhost)
    hostname: ~
    # Port (default to 9051)
    port: ~
    # "null" for no authentication, "password" for password auth, "cookie" for cookie file auth (default to autodetect)
    authmethod: "null"
    # Password to use if the password auth method is used (no default)
    password: ~
    # Cookie file is this auth method is used (no default)
    cookiefile: ~
    # Connection timeout (default to php.ini setting)
    timeout: ~

Usage

// Get an instance of the PHP TorControl library as a service
$tc = $this->get('torcontrol');

Credits

This bundle has been written by Kévin Dunglas.

统计信息

  • 总下载量: 333
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 14
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-03-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固