Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/otobank/php-crowi

experimental
https://github.com/otobank/php-crowi

Last synced: 9 days ago
JSON representation

experimental

Awesome Lists containing this project

README

        

php-crowi
=========

PHP Library for [Crowi](http://crowi.wiki)

Usage
-----

```php
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()));
}
```