fungku / markup-validator-php
A markup validator, including RSS and atom feeds.
Installs: 787
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 2
pkg:composer/fungku/markup-validator-php
Requires
- php: >=5.5
This package is not auto-updated.
Last update: 2025-10-11 23:06:35 UTC
README
Someday I'll add other things, but right now it is a feed validator.
Install
composer require fungku/markup-validator-php
RSS and atom feed validator
Uses W3.org feed validator to check if there are any errors in the feed.
Usage
use Fungku\MarkupValidator\FeedValidator; $validator = new FeedValidator(); $feed = 'http://www.w3.org/QA/news.rss'; if ($validator->validate($feed)) { echo "Feed is valid"; } else { echo "Feed is not valid."; }