Download the PHP
package marcw/rss-writer without Composer
On this page you can find all versions of the php package
marcw/rss-writer. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor marcw Package rss-writer Short Description A simple yet powerful RSS2 feed writer with RSS extensions support (like iTunes podcast tags) License
MIT
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.
A simple, yet powerful and fully customizable RSS 2.0 writing library, with a
native support of iTunes podcasting tags and other RSS extensions.
Why a new Rss writing library?
At the time of writing this library, the current state of feed writing
libraries was not satisfying. What I found was either difficult to extend, too
generic, or wasn't taking advantage of best practices in order to reduce the
Time To First Byte.
Why should I use this over other libraries?
Use this library if you want:
RSS2 feeds (because there's no support for other types of feed).
Extensions for iTunes podcasting, Slash, Sy, DublinCreator, Atom, or just your own.
Best performance (memory and TTFB) thanks to XML Streaming.
Object oriented feed creation with POPO
How can I install it?
Run composer require marcw/rss-writer.
How does it work?
Feed creation
See this file.
Rss Streamed Response
See this file.
Symfony Bridge
HttpFoundation
The library provides an extension to the Symfony\Component\HttpFoundation\Response class for streaming rss responses to the client. See RssStreamedResponse.php.
Use it from your controllers like this:
Form
An iTunes category choice list is available to use in your forms. Follow this example:
Symfony Bundle
This library also provides a Symfony bundle.
Add this to your AppKernel.php file.
You can now use the marcw_rss_writer.rss_writer service.
Can I contribute?
Sure! Feel free to report issues, send pull-requests, or ask for help.
Projects using this lib
Banditore retrieves new releases from your Github starred repositories and put them in a RSS feed.
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 marcw/rss-writer contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.