PHP Classes

How to Display on Your Site a List of the Latest Packages from PHPClasses Site using the Package PHPClasses Feed Viewer: Display the latest PHP Classes packages on a page

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-10-15 (3 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
phpclasses-feed 1.0.1Custom (specified...5.6PHP 5, Web services, Parsers
Description 

Author

This package can display the latest packages from PHPClasses on a page.

It can retrieve and parse the RSS feed of the latest packages published on the PHP Classes site.

The package can create a table formatted using frame style showing a list of links to the pages of the latest packages published on the PHP Classes site.

Picture of ASCOOS CMS
  Performance   Level  
Name: ASCOOS CMS <contact>
Classes: 16 packages by
Country: Greece Greece
Innovation award
Innovation award
Nominee: 11x

Instructions

Through the config.php file you can:

  • Set the number of classes to display.
  • Set up a PHP Classes referral account, like the example user name "bigfriend", or use the user name that you use to log in to the PHP Classes site.
  • Specify whether to display a column with the days that have passed since the class was posted.
  • Finally, set the theme of appearance.

An online demo can be viewed HERE .

Example

<?php
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Latest PHPClasses Packages</title>
    <link rel="stylesheet" href="assets/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/main.css" type="text/css" />
    <script type="text/javascript" src="assets/js/jquery.js" charset="UTF-8"></script>
</head>
<body>
    <div class="efp-template">
        <?php require_once('phpclasses-feed.php'); ?>
</div>
</body>
</html>


Details

How to use the package.

This package can display the latest package from PHPClasses.

Creates a formatted table in frame style, showing the latest packages published on the PHP Classes website.

This package is a variant of original for use outside Ascoos Cms.

You can easily embed it into any code as long as you follow the instructions mentioned below in the details.

Unfortunately, the configuration has to be done manually, unless you create code that makes it more organized and automatic, as is the case when we create modules for cms.

Installation

Install the package in any folder within your Web page, as long as you include the following code in the HTML where you want it to appear.

    <div class="efp-template">
        <?php require_once([PATH]/'phpclasses-feed.php'); ?>
    </div>

You should also make sure that the following are included in the HTML HEAD:

    <link rel="stylesheet" href="assets/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/main.css" type="text/css" />
    <script type="text/javascript" src="assets/js/jquery.js" charset="UTF-8"></script> 

Configure the package

    libs/config.php

  • Change the presets according to your needs.
        'lang'          => 'en',        // Current Language of package
        'show_title'    => true,        // Show Title in block element.
        'method'        => 'rss',       // What feed method is used (XML or RSS)?
        'count'         => 10,			// How many classes will be displayed.
        'user'		    => 'bigfriend',	// PHPClasses User
        'show_summary'	=> true,		// Show Summary Description
        'show_days'	    => true,		// Show Days
        'theme'         => 'cleargray'	// The Block theme

Now you can run it either through another cms, or as a standalone one, like the example that came with the package.

---

An online demo can be viewed HERE


Screenshots (1)  
  • screenshot.png
  Files folder image Files (25)  
File Role Description
Files folder imageassets (1 file, 2 directories)
Files folder imagelanguages (3 files)
Files folder imagelibs (3 files)
Files folder imagethemes (1 file, 2 directories)
Accessible without login Plain text file CHANGELOG.md Doc. Documentation
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE_AGL-F.md Lic. License text
Accessible without login Plain text file phpclasses-feed.php Test Application script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (25)  /  assets  
File Role Description
Files folder imagecss (3 files)
Files folder imagejs (2 files)
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files (25)  /  assets  /  css  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file main.css Data Auxiliary data
  Accessible without login Plain text file reset.css Data Auxiliary data

  Files folder image Files (25)  /  assets  /  js  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file jquery.js Data Auxiliary data

  Files folder image Files (25)  /  languages  
File Role Description
  Plain text file el.php Class Class source
  Plain text file en.php Class Class source
  Accessible without login HTML file index.html Data Empty page

  Files folder image Files (25)  /  libs  
File Role Description
  Accessible without login Plain text file config.php Conf. Configuration class source
  Accessible without login HTML file index.html Data Empty page
  Plain text file libs.php Class Class source

  Files folder image Files (25)  /  themes  
File Role Description
Files folder imagecleargray (3 files)
Files folder imagedefault (3 files)
  Accessible without login HTML file index.html Data Empty page

  Files folder image Files (25)  /  themes  /  cleargray  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Image file screenshot.png Icon Icon image
  Accessible without login Plain text file theme.css Data Auxiliary data

  Files folder image Files (25)  /  themes  /  default  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Image file screenshot.png Icon Icon image
  Accessible without login Plain text file theme.css Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadphpclasses-feed-2024-10-15.zip
Downloadphpclasses-feed-2024-10-15.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP Backwards Compatibility Library Download .zip .tar.gz This library supports backward compatibility Recommended
 Version Control Unique User Downloads  
 100%
Total:0
This week:0