Download the PHP package alleyinteractive/feed-consumer without Composer

On this page you can find all versions of the php package alleyinteractive/feed-consumer. 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-consumer

Feed Consumer

Contributors: srtfisher

Tags: alleyinteractive, feed-consumer, wordpress-plugin

Stable tag: 1.0.1

Requires at least: 5.9

Tested up to: 6.0

Requires PHP: 8.0

License: GPL v2 or later

Coding Standards Testing Suite

Ingest external feeds and other data sources into WordPress.

Installation

You can install the package via composer:

Requirements

This plugin requires Fieldmanager to be installed and activated. It is also recommended to use Alley Logger as well but that is not required.

Usage

Activate the plugin in WordPress and you will see the new Feeds post type available for use:

Screenshot of feed post type

Feed Consumer is a plugin that allows you to ingest external feeds and other data sources into WordPress. It is built to be extensible and can be used to ingest data from any source that can be represented as a PHP array.

Creating a Feed

To create a feed, navigate to the Feeds post type and click Add New. You will see a form that allows you to configure the feed. The feed configuration includes the following fields:

The selected processor will also display any settings for the processor's extractor, transformer, and loader.

Processors

Processors are the core of Feed Consumer. They define the extractor, transformer, and loader to use for the feed.

Out of the box, Feed Consumer includes the following processors:

Creating a Processor

Extractors

Extractors will take extract data from a remote source and return it as data to be passed to a transformer. Out of the box, Feed Consumer includes JSON, XML, and RSS transformers among others that can be used to extract data from a variety of sources. You can also create your own extractor by implementing the Feed_Consumer\Contracts\Extractor interface.

Transformers

Transformers will take extracted data and transform it into a format that can be loaded into WordPress. Out of the box, Feed Consumer includes a Post_Loader that will take transformed data and load it into WordPress as posts. You can also create your own transformer by implementing the Feed_Consumer\Contracts\Transformer interface.

Loaders

Loaders will take transformed data and load it where configured. Out of the box, the Post_Loader will be the most common loader used to take transformed data and load it into WordPress as posts.

You can also create your own loader by implementing the Feed_Consumer\Contracts\Loader interface.

Post Loader

The post loader will take transformed data and load it into WordPress. It will also transform the content into Gutenberg blocks by default via wp-block-converter.

Integrations

Byline Manager

The plugin includes an integration with Byline Manager to automatically set the byline for a post based on the feed item's author. Once the Byline Manager plugin is enabled, the settings fields will appear on the feed to set the default byline and to optionally use the feed item's author as the byline.

Hooks

feed_consumer_run_complete

Fires when a feed has completed running. The feed ID, loaded data, and processor class are passed to the hook.

feed_consumer_extractor_error

Fires when an extractor encounters an error. The extractor response and extractor class are passed to the hook.

feed_consumer_pre_feed_fetch

Fires when a feed is about to be fetched.

feed_consumer_feed_fetch

Fires when a feed has been fetched.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

This project is actively maintained by Alley Interactive. Like what you see? Come work with us.

License

The GNU General Public License (GPL) license. Please see License File for more information.


All versions of feed-consumer with dependencies

PHP Build Version
Package Version
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 alleyinteractive/feed-consumer contains the following files

Loading the files please wait ....