chriskapp/blog
最新稳定版本:v0.1.6
Composer 安装命令:
composer require chriskapp/blog
包简介
README 文档
README
Simple blog engine
Installation
The blog engine uses PSX to install it you only need at this package:
composer require chriskapp/blog
Configuration
Then you need to add the following configurations at the configuration.php file:
return [ // the blog source xml file containing all posts 'blog_file' => __DIR__ . '/resources/blog.xml', 'blog_title' => 'chrisk.app', // the default author of the blog posts 'blog_author_name' => 'chriskapp', 'blog_author_uri' => 'https://chrisk.app/', // the blog template files 'blog_template_index' => 'blog.php', 'blog_template_detail' => 'blog/detail.php', // ... ];
And you need to add the container.php file to the container builder:
return \PSX\Framework\Dependency\ContainerBuilder::build( __DIR__, true, __DIR__ . '/vendor/psx/framework/resources/container.php', __DIR__ . '/vendor/chriskapp/blog/resources/container.php', __DIR__ . '/resources/container.php', );
统计信息
- 总下载量: 124
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-25