dragonmantank/fillet-sculpin-bundle
最新稳定版本:v0.1.0
Composer 安装命令:
composer require dragonmantank/fillet-sculpin-bundle
包简介
A bundle wrapper for Fillet to integrate with Sculpin
README 文档
README
This bundle allows for Fillet integration directly into Sculpin.
Currently supported parsers:
- WordpressExport
Sample Usage
Add the bundle to your site's sculpin.json file:
"require": {
"dragonmantank/fillet-sculpin-bundle": "~0.1"
},
and update sculpin's dependencies:
php sculpin.phar update
This will pull down the necessary files for Fillet. You then need to add the
bundle to Sculpin by adding it to your app/SculpinKernel.php file. If this
file doesn't exist, you can use the following to get going:
<?php class SculpinKernel extends \Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel { protected function getAdditionalSculpinBundles() { return array( 'Fillet\FilletBundle\FilletBundle', ); } }
You can now call Fillet by doing the following:
php sculpin.phar fillet:fillet --file=path/to/file.xml --parser=WordpressExport
Fillet will then parse the file and generate the output! Assuming nothing blows up...
Update sculpin.phar!
If you get an issue trying this and encounter a sculpin.phar error running update, you might need to update sculpin.phar to a version built after 2015-02-26. This affects people using the blog skeleton, as some of the dependencies that get pulled in have versions that aren't compatible with older versions of Sculpin. That's fixed now, so just update sculpin.phar and you are all set.
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: ISC
- 更新时间: 2015-02-25