Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzenKodo authored Nov 10, 2022
1 parent 6a2b05f commit b7aa767
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# rss-atom-parser
RSS & Atom feed parser for PHP. Very small and easy-to-use library for parsing your feeds.

## Getting Started
It requires PHP 5.3 or newer with CURL extension or enabled allow_url_fopen.

Install via Composer:
```bash
composer require AnzenKodo/rss-atom-parser
```

## Usage
```php
<?php
// Load plugins

require_once __DIR__.'/vendor/autoload.php';

// Array and String are supported.
$values = ["https://anzenkodo.github.io/blog/feed.xml", "https://anzenkodo.github.io/dblog/feed.xml"];
$values = "https://anzenkodo.github.io/blog/feed.xml";

$feed = RSS::feed($values);
print_r($feed);
?>
```

0 comments on commit b7aa767

Please sign in to comment.