2017 © Pedro Peláez
 

library php-crowi

[Crowi](http://crowi.wiki)

image

otobank/php-crowi

[Crowi](http://crowi.wiki)

  • Wednesday, January 27, 2016
  • by riaf
  • Repository
  • 17 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

php-crowi

PHP Library for Crowi, (*1)

Usage

<?php

require_once __DIR__ . '/vendor/autoload.php';

$crowi = new Crowi\Crowi([
    'mongodb_url' => getenv('MONGO_URL'),
]);

$md = new Parsedown();

$pages = $crowi->Page->findBy([
    'path' => new \MongoRegex('/^\/user\/riaf/'),
    'grant' => Crowi\Document\Page::GRANT_PUBLIC,
], null, 5);

foreach ($pages as $page) {
    var_dump($page->getPath());
    var_dump($md->text($page->getRevision()->getBody()));
}

The Versions

27/01 2016

dev-analysis-z9mxZl

dev-analysis-z9mxZl

[Crowi](http://crowi.wiki)

  Sources   Download

The Requires

 

The Development Requires

22/12 2015

dev-master

9999999-dev

[Crowi](http://crowi.wiki)

  Sources   Download

The Requires

 

The Development Requires