24 Star 88 Fork 26

inhere / php-console

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
sami.doc.inc 704 Bytes
一键复制 编辑 原始数据 按行查看 历史
inhere 提交于 2018-05-07 10:07 . update some class
<?php
use Sami\Sami;
use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;
$iterator = Finder::create()
->files()
->name('*.php')
->notName('routes.php')
->exclude(['test', 'example'])
->in([
__DIR__ . '/src/'
]);
$versions = GitVersionCollection::create(__DIR__);
return new Sami($iterator, [
// 'theme' => 'enhanced',
// 'versions' => $versions,
'title' => 'Inhere Console Classes Documentation',
'build_dir' => __DIR__ . '/classes/%version%',
'cache_dir' => __DIR__ . '/caches/%version%',
'default_opened_level' => 1,
// 'store' => new MyArrayStore,
]);
/**
* usage: php sami.phar update --force sami.doc.inc
*/
PHP
1
https://gitee.com/inhere/php-console.git
git@gitee.com:inhere/php-console.git
inhere
php-console
php-console
master

搜索帮助