sylapi/feed-seznam 问题修复 & 功能扩展

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

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

sylapi/feed-seznam

Composer 安装命令:

composer require sylapi/feed-seznam

包简介

Merchant feeds

README 文档

README

PHP Version License Tests PHPStan Packagist

PHP library for generating XML product feeds for Seznam.cz merchant integration.

Installation

Install the package via Composer:

composer require sylapi/feed-seznam

Requirements

  • PHP 8.0 or higher
  • sylapi/feeds ^1.0.0

Usage

$feedGenerator = new Sylapi\Feeds\FeedGenerator();
$feedGenerator->setFeed(new Sylapi\Feeds\Seznam\Feed(
    Sylapi\Feeds\Parameters::create([])
));

$product = new \Sylapi\Feeds\Models\Product();
//...
$feedGenerator->appendProduct($product);
$feedGenerator->appendProduct($product);
//...
$feedGenerator->appendProduct($product);
//...
$feedGenerator->save();
echo $feedGenerator->filePath();

Features

  • Generate XML feeds compatible with Seznam.cz
  • Support for product catalogs and merchant feeds
  • Built on top of the Sylapi Feeds framework
  • Full PHPUnit test coverage
  • Static analysis with PHPStan level 5

Development

COMMAND DESCRIPTION
composer tests Testy
composer phpstan PHPStan
composer coverage PHPUnit Coverage
composer coverage-html PHPUnit Coverage HTML (DIR: ./coverage/)

Running Tests

# Run all tests
composer tests

# Generate coverage report
composer coverage

# Generate HTML coverage report
composer coverage-html

Code Quality

# Run PHPStan static analysis
composer phpstan

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests and static analysis
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

License

This library is licensed under the MIT License. See LICENSE file for details.

Support

For issues and questions, please use the GitHub Issues page.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固