Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otobank/php-crowi
experimental
https://github.com/otobank/php-crowi
Last synced: 9 days ago
JSON representation
experimental
- Host: GitHub
- URL: https://github.com/otobank/php-crowi
- Owner: otobank
- License: mit
- Created: 2015-12-21T12:50:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T11:47:37.000Z (almost 9 years ago)
- Last Synced: 2024-04-19T09:41:32.974Z (7 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 0
- Watchers: 29
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()));
}
```