PHPackages                             2amigos/efeed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. 2amigos/efeed

AbandonedArchivedYii-extension

2amigos/efeed
=============

Feed Writer Generator Extension to create your feeds. Currently supports RSS 1.0, RSS 2.0 and ATOM 1.0.

0.1.1(11y ago)1249.8k↑10.7%9[2 issues](https://github.com/2amigos/efeed/issues)1BSD-3-ClausePHP

Since Aug 25Pushed 11y ago5 watchersCompare

[ Source](https://github.com/2amigos/efeed)[ Packagist](https://packagist.org/packages/2amigos/efeed)[ RSS](/packages/2amigos-efeed/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (1)

Feed Writer Generator Extension to create your feeds. Currently supports RSS 1.0, RSS 2.0 and ATOM 1.0.

\##Requirements

- Developed using Yii version 1.1.5

\##Usage Unzip the contents of the package and place it on your protected/extensions folder.

**Examples of use**

RSS 1.0

```

Yii::import('ext.feed.*');

// specify feed type
$feed = new EFeed(EFeed::RSS1);
$feed->title = 'Testing the RSS 1 EFeed class';
$feed->link = 'http://www.ramirezcobos.com';
$feed->description = 'This is test of creating a RSS 1.0 feed by Universal Feed Writer';
$feed->RSS1ChannelAbout = 'http://www.ramirezcobos.com/about';
// create our item
$item = $feed->createNewItem();
$item->title = 'The first feed';
$item->link = 'http://www.yiiframework.com';
$item->date = time();
$item->description = 'Amaz-ii-ng Yii Framework';
$item->addTag('dc:subject', 'Subject Testing');

$feed->addItem($item);

$feed->generateFeed();

```

RSS 2.0

```

Yii::import('ext.feed.*');
// RSS 2.0 is the default type
$feed = new EFeed();

$feed->title= 'Testing RSS 2.0 EFeed class';
$feed->description = 'This is test of creating a RSS 2.0 Feed';

$feed->setImage('Testing RSS 2.0 EFeed class','http://www.ramirezcobos.com/rss',
'http://www.yiiframework.com/forum/uploads/profile/photo-7106.jpg');

$feed->addChannelTag('language', 'en-us');
$feed->addChannelTag('pubDate', date(DATE_RSS, time()));
$feed->addChannelTag('link', 'http://www.ramirezcobos.com/rss' );

// * self reference
$feed->addChannelTag('atom:link','http://www.ramirezcobos.com/rss/');

$item = $feed->createNewItem();

$item->title = "first Feed";
$item->link = "http://www.yahoo.com";
$item->date = time();
$item->description = 'This is test of adding CDATA Encoded description EFeed Extension';
// this is just a test!!
$item->setEncloser('http://www.tester.com', '1283629', 'audio/mpeg');

$item->addTag('author', 'thisisnot@myemail.com (Antonio Ramirez)');
$item->addTag('guid', 'http://www.ramirezcobos.com/',array('isPermaLink'=>'true'));

$feed->addItem($item);

$feed->generateFeed();
Yii::app()->end();

```

ATOM 1.0

```
Yii::import('ext.feed.*');

$feed = new EFeed(EFeed::ATOM);

// IMPORTANT : No need to add id for feed or channel. It will be automatically created from link.
$feed->title = 'Testing the ATOM RSS EFeed class';
$feed->link = 'http://www.ramirezcobos.com';

$feed->addChannelTag('updated', date(DATE_ATOM, time()));
$feed->addChannelTag('author', array('name'=>'Antonio Ramirez Cobos'));

$item = $feed->createNewItem();

$item->title = 'The first Feed';
$item->link  = 'http://www.ramirezcobos.com';
// we can also insert well formatted date strings
$item->date ='2010/24/12';
$item->description = 'Test of CDATA Encoded description EFeed Extension';

$feed->addItem($item);

$feed->generateFeed();

```

\##Change Log

- v.1.3 Added stylesheet support
- v.1.2 Added support for [atom:link](http://workbench.cadenhead.org/news/3284/adding-atomlink-your-rss-feed)
- v.1.1 Fixed bug on EFeedItemAtom thanks to [Flokey82](http://www.yiiframework.com/forum/index.php?/user/25919-flokey82/ "Flokey")

\##Resources

- [GitHub repository](https://github.com/tonydspaniard/Yii-extensions)
- [Forum Post](http://www.yiiframework.com/forum/index.php?/topic/14663-extension-efeed-extension/)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4284d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/566016?v=4)[Antonio Ramirez](/maintainers/tonydspaniard)[@tonydspaniard](https://github.com/tonydspaniard)

---

Top Contributors

[![marcovtwout](https://avatars.githubusercontent.com/u/438046?v=4)](https://github.com/marcovtwout "marcovtwout (2 commits)")[![JanSimek](https://avatars.githubusercontent.com/u/1261493?v=4)](https://github.com/JanSimek "JanSimek (1 commits)")[![Olegacy](https://avatars.githubusercontent.com/u/347447?v=4)](https://github.com/Olegacy "Olegacy (1 commits)")[![SeeDoubleYou](https://avatars.githubusercontent.com/u/1272843?v=4)](https://github.com/SeeDoubleYou "SeeDoubleYou (1 commits)")

---

Tags

atomfeedrss

### Embed Badge

![Health badge](/badges/2amigos-efeed/health.svg)

```
[![Health](https://phpackages.com/badges/2amigos-efeed/health.svg)](https://phpackages.com/packages/2amigos-efeed)
```

###  Alternatives

[laminas/laminas-feed

provides functionality for creating and consuming RSS and Atom feeds

16649.2M47](/packages/laminas-laminas-feed)[dg/rss-php

RSS &amp; Atom Feeds for PHP is a very small and easy-to-use library for consuming an RSS and Atom feed

4801.2M10](/packages/dg-rss-php)[mibe/feedwriter

Generate feeds in either RSS 1.0, RSS 2.0 or ATOM formats

1951.1M5](/packages/mibe-feedwriter)[debril/rss-atom-bundle

RSS / Atom and JSONFeed support for Symfony

1381.3M2](/packages/debril-rss-atom-bundle)[eko/feedbundle

A Symfony bundle to build RSS feeds from entities

142574.6k3](/packages/eko-feedbundle)[rumenx/php-feed

Framework-agnostic PHP Feed generator for Laravel, Symfony, and more.

3652.3k](/packages/rumenx-php-feed)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
