sylapi/feed-seznam

Merchant feeds

Maintainers

Package info

github.com/sylapi/feed-seznam

pkg:composer/sylapi/feed-seznam

Statistics

Installs: 5 643

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-03-16 20:32 UTC

This package is auto-updated.

Last update: 2026-03-16 20:33:43 UTC


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.