cammanderson/mmb-github
Composer 安装命令:
composer require cammanderson/mmb-github
包简介
Github Article Service for mmb
关键字:
README 文档
README
Github Article Service for Minimalist Markdown Blog Check-in your blog articles to your github account and make them accessible to your blog.Supports branching strategy, allowing you to configure your local blog to read a separate branch.
Usage
Composer
{ "require": { "cammanderson/mmb" : "@dev" "cammanderson/mmb-github" : "@dev" } }
Update your pimple
// Silex configuration $app->register(new MMB\ArticleServiceProvider()); // Specify articles to be sourced from github $app['article_service'] = $app->share(function ($app) { $githubService = new \MMB\Github\GithubArticleService('cammanderson', 'mmb-github-example', 'master'); $githubService->setProvider($app['article_provider']); return $githubService; });
Configuration
- Branch (e.g. look to master)
- Github Authentication (for private github repositories)
- Regular expressions for matching article naming convention
统计信息
- 总下载量: 58
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2014-08-12