定制 dragonmantank/fillet-sculpin-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: ISC
  • 更新时间: 2015-02-25