Download the PHP package stjo15/c-rss-feed without Composer

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

Setting up and using the CRssFeed module with the Anax MVC framework

Build Status Scrutinizer Code Quality Code Coverage

  1. Add dependency to "stjo15/c-rss-feed": "dev-master" to 'require' in your Anax-MVC composer.json file.

  2. In your bash command line, at your Anax-MVC folder, use the command 'composer install --no-dev'. If you didn't install Composer yet, you should!

  3. Add Anax-MVC/vendor/stjo15/c-rss-feed/app/config/mysql.php to your config folder. Insert SQL database your username, database name and password to the file.

  4. Copy the c-rss-feed/app/view folder with contents to Anax-MVC/app/view/

  5. Import sql-table/mvc_rssfeed.sql to your database.

  6. Add the contents of c-rss-feed/webroot/config_with_app.php to Anax-MVC/webroot/config_with_app.php

  7. Add the contents of src/db_di.txt to your DI (Dependency Injection) class to inject 'db' as dependency.

  8. To test your installation, copy the test-controller webroot/rss.php to your Anax webroot and point your browser to it. You might need to make corrections to the path variables or make hard links in order to make it work in your application.

  9. Use the contents of webroot/examplecontent.php to customize your RSS feed. Read the instructions/documentation.

  10. Your RSS content database should contain columns for pagekey, id, title and description. However, you can and should choose your own column names in the class RssFeed, in the method getItems(). The xml tags should stay as they are, just change the contents of these tags. For example, if you want to feed your new blog article, put $item['title'] as the content of tag 'title'.

Important! In the RssFeed:getItems() method, set the variable $itemstable to the name of your content db table.

There are also functions to edit, delete and list RSS feeds. You should really check out the contents and customize it to your needs.


All versions of c-rss-feed with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
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 stjo15/c-rss-feed contains the following files

Loading the files please wait ...