unl/php-dwt-parser 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

unl/php-dwt-parser

最新稳定版本:v1.0.3

Composer 安装命令:

composer require unl/php-dwt-parser

包简介

A PHP library for parsing DWT files and turning them into PHP classes

README 文档

README

Build Status Coverage Status

This package generates php class files (objects) from Dreamweaver template files. Examples found under docs/examples/.

Test browser output (basic/example_style1.php):

  • Open docs/examples/basic/example_style1.php in a browser.
  • Builds a webpage object based on a class file that was previously generated by createTemplates.php.
    • The member variables of this object are editable regions that should be modified as desired.
  • This uses TemplateStyle1.php and Template_style1.tpl that have been pregenerated.

Test template creation:

cd docs/examples/basic/
php ../../../bin/createTemplates.php example.ini

This will write new versions of TemplateStyle1.php and Template_style1.tpl to docs/examples/basic/

Scanner (scanner_example.php):

Scans a rendered DWT-based page for editable regions. All editable regions become member variables of the scanner object.

统计信息

  • 总下载量: 5.22k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 5
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-10-08