rainflute/confluence-php-client 问题修复 & 功能扩展

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

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

rainflute/confluence-php-client

Composer 安装命令:

composer require rainflute/confluence-php-client

包简介

Confluence API PHP Client

README 文档

README

A Confluence RESTful API client in PHP

An Object Oriented wrapper for Confluence, written PHP5

Requirements

  • PHP >= 5.5.0

Installation

$ php composer.phar require rainflute/confluence-php-client

Usage

<?php

use Rainflute/ConfluenceClient/Client;
use Rainflute/ConfluenceClient/Curl;
use Rainflute/ConfluenceClient/Entity/ConfluencePage;

//Create and configure a curl web client
$curl = new Curl('confluence_host_url,'username','password');

//Create the Confluence Client
$client = new Client($curl);

//Create a confluence page
$page = new ConfluencePage();

//Configure your page
$page->setSpace('testSpaceKey')->setTitle('Test')->setContent('<p>test page</p>');

//Create the page in confluence in the test space
$client->createPage($page);

//Get the page we created
echo $client->selectPageBy([
    'spaceKey' => 'testSpaceKey',
    'title' => 'Test'
]);

Get your development instance

Atlassian changed the way to work on Confluence/Jira, now in order to create your plugin, you have to get a Developer Account and create your own instance. All the steps to create your environment are defined on the documentation page.

Once you have access to your own Atlassian Cloud instance and you put it in developer mode, we can continue and let the instance contact us.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固