ap/cpanel-bundle 问题修复 & 功能扩展

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

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

ap/cpanel-bundle

Composer 安装命令:

composer require ap/cpanel-bundle

包简介

Symfony ApCpanelBundle

关键字:

README 文档

README

Easy to use Cpanel API bundle

Step 1: Download ApCpanelBundle using composer

Add ApCpanelBundle by running the command:

$ php composer.phar require ap/cpanel-bundle 'dev-master'

Step 2: Register the ApCpanelBundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Ap\CpanelBundle(),
    );
}

Step 3: Configure the ApCpanelBundle

Edit your config.yml:

ap_cpanel:
    domain: yourdomain.com
    whmusername: yourusername
    whmhash: yourhashahahsshshshshdfasdfkjasadfasdf....

Example:

<?php

public function someAction()
{
//..    
	$cpanel = $this->container->get('ap_cpanel.api');
	
    $accountsJson = $cpanel->listaccts()->exec();
    
    $result   = json_decode($accountsJson, TRUE);
//..    
}

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-06-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固