定制 oldmine/google-merchant-feed-generator 二次开发

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

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

oldmine/google-merchant-feed-generator

Composer 安装命令:

composer require oldmine/google-merchant-feed-generator

包简介

Simple Google Merchant Feed generator library

README 文档

README

Latest Stable Version Total Downloads License

Library to generate valid Google Merchant Feed.

Library check data integrity and format to fit Google Merchant Center requirements.

Data to feed you will take from database, xml, json or other source and set it using library methods.

Getting Started

Dependencies

PHP >= 5.3
Composer (optional)

Install

Choose acceptable installation method to your website

Composer (.json)

{
    "require": {
        "oldmine/google-merchant-feed-generator": "master"
    }
}

Composer (Command Line)

composer require oldmine/google-merchant-feed-generator

Without Composer:

require_once('src/IFeedGenerator.php');
require_once('src/IGenerated.php');
require_once('src/Constants.php');
require_once('src/Item.php');
require_once('src/Channel.php');
require_once('src/Feed.php');
require_once('src/XMLGenerator.php');

Usage examples

See UsageExample.php.

When you have chosen feed generator you can choose method to get result:

$generator->printFeed() // Print feed in current document
$generator->saveFeed($file) // Save feed to $file
$generator->getFeed() // Get feed as string

Tests

To run tests use command:

phpunit tests

Author

License

This project is licensed under the Apache License Version 2.0 - see the LICENSE.md file for details

统计信息

  • 总下载量: 72
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2018-07-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固