Download the PHP package phil/feed-bundle without Composer

On this page you can find all versions of the php package phil/feed-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package feed-bundle

phil/feed-bundle

Atom, RSS and JSON Feed for news, contents or events, written from one list, linked from pages, cached over HTTP and announced to WebSub hubs.

phil/feed-bundle serves the feeds of a Symfony application. A feed is a service that implements FeedSource: a name, a channel — title, page, description, language — and its entries, the most recent first. The bundle writes each feed in three formats from that one list: Atom (RFC 4287), JSON Feed 1.1 and RSS 2.0 for the readers that read nothing else. Each is served at /feeds/{name}.atom, .json and .rss, with its media type, an ETag and a Last-Modified from its latest entry, and a 304 to a reader that already holds it. A paged feed links its pages as RFC 5005 asks. phil_feed_links() writes the <link rel="alternate"> of the feeds in the <head> of a page. When a page of phil/publishing goes online or offline, the feeds that list it are announced to the configured WebSub hubs, through Messenger and phil/safe-http, with a message that names the feed alone. The published contents of a kind of phil/content-bundle become a feed with a few lines of configuration.

Use it in a site that publishes news, articles, events or episodes and wants readers, podcast apps and other sites to follow them. A source of another kind — a calendar, the private feed of a partner — implements FeedSource and is served the same way.

What it does not do: no WebSub hub of its own (the application names a public one), no reading of other sites' feeds, no digest of new entries by e-mail.

It plugs into the Symfony router, HttpKernel, Messenger, the event dispatcher and Twig, and uses phil/url for every address. The XML is written by XMLWriter, the JSON by json_encode(); no feed library is used.

Status

Part State
FeedSource, the entries and their checks Implemented and tested
Atom, RSS 2.0 and JSON Feed 1.1 writers Implemented, tested and fuzzed
/feeds/{name}.{format}: media types, ETag, Last-Modified, 304, cache headers, pages Implemented and tested
phil_feed_links() Implemented and tested
WebSub announcements on PagePublished and PageRetired Implemented and tested
Content feeds of phil/content-bundle Implemented and tested

Documentation

Document What it covers
Installation Requirements, registering, the routes and the Flex recipe.
Configuration Every option, with an example.
Sources Writing a FeedSource: the channel, the entries, the pages, the pages of phil/publishing; the content feeds.
WebSub Hubs, the announcement, Messenger and what is refused.
Extension points The sources, the writers, the addresses, the routes and what stays closed.
Testing The bundle's tests and its fuzz target.
Reference Every class and service of the bundle, and the formats as written.

Quick start

Requirements

PHP 8.5 or later with mbstring and XMLWriter, Symfony 8.2 or later, Twig 3.21 or later.

Contributing

Contributions are welcome on the PHIL monorepo: read the contribution guide and the security policy explains, never in a public issue.

License

MIT, © Philippe Gamache, doing business as Le Gnome Archiviste; a Parler Haut Interagir Librement project. See LICENSE.


All versions of feed-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
ext-mbstring Version *
ext-xmlwriter Version *
phil/publishing Version ^0.1@dev
phil/safe-http Version ^0.2@dev
phil/url Version ^0.1@dev
psr/log Version ^3.0
symfony/config Version ^8.2
symfony/dependency-injection Version ^8.2
symfony/http-foundation Version ^8.2
symfony/http-kernel Version ^8.2
symfony/messenger Version ^8.2
symfony/routing Version ^8.2
twig/twig Version ^3.21
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package phil/feed-bundle contains the following files

Loading the files please wait ...