Download the PHP package 8fold/php-syndication without Composer

On this page you can find all versions of the php package 8fold/php-syndication. 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 php-syndication

8fold Syndication for PHP

A library for generating standards-compliant web feeds using both Atom (recommended) and RSS specifications.

Versions:

Library JSON Feed Atom RSS
current 1.1 1.0 2.0

Installation

{how does one install the product}

Usage

{brief example of how to use the product}

JSON Feed

JSON Feed reference used: https://www.jsonfeed.org

When it comes to content, JSON feed is quite flexible; you may have:

  1. Plain text content via the content_text member.
  2. HTML content via the content_html member.
  3. Or, both.

You must have at least one.

Therefore, we have added content as a required part of the initializer using a plain text string (content_text) or an instance of ContentHtml (content_text).

Further, you may call the withExtraContent method to use both. With that said, if both are of the same type, the content provided from the withExtraContent method will be used; last in overwrite rules.

Note: JSON Feed does not require a content member and is able to accept both plain text and html content types; using content_text and context_html. Both are optional, however, at least one of them must be present. Therefore, we require content as part of the initializer, which can accept a plain text string (content_text) or an instance of ContentHtml. We also give you the ability to

Atom

Atom specification reference used: https://validator.w3.org/feed/docs/atom.html#content

Authors

Recommended

Link

Recommended

RSS

RSS specification reference used: https://cyber.harvard.edu/rss/

Details

We practice the art of the soft failure. As such, if a document is malformed, we return an empty string.

We do not sanitize the input; therefore, it is recommended you do so prior to initializing, building, and rendering the feed.

The fundamental approach is that the required elements for each feed (and sub-element) are required by the initializer of the Document (and sub-element). Recommended, but optional, elements are optional within the initializer. Strictly optional elements may be added by calling the corresponding method; most of which use the prefix with.

Note: Not all specifications explicitly state whether items (or entries) are required; however, a feed without items (or entries) seems odd, therefore, we require them for each feed type. Further, if an item (or entry) does not meet the criteria of the specification, the entire document will become an empty string. We will do what we can to enable you to explore the soft failure.

When possible, we will render elements and properties in the order they appear in the reference specification.

Other

{links or descriptions or license, versioning, and governance}


All versions of php-syndication with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 | ^8.2
8fold/php-xml-builder Version ^2.0
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 8fold/php-syndication contains the following files

Loading the files please wait ....