2017 © Pedro Peláez
 

library social-ranking

PHP implementation of social hot ranking algorithm like Reddit, HackerNews

image

haphan/social-ranking

PHP implementation of social hot ranking algorithm like Reddit, HackerNews

  • Thursday, January 21, 2016
  • by haphan
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Social Media Ranking Algorithm: Reddit, HackerNews

This is PHP implementation of various social media news "Hot" Ranking algoritm., (*1)

Reddit Ranking, (*2)

HackerNews Ranking, (*3)

Usage

$ composer require haphan/social-ranking
<?php

require 'vendor/autoload.php';

use Haphan\SocialRanking\Reddit;
use Haphan\SocialRanking\HackerNews;

$redditScore = Reddit::score($age, $upVote, $downVote);
$hackerNewsScore = HackerNews::scoreV1($age, $upVote, $downVote);


The Versions

21/01 2016

dev-master

9999999-dev

PHP implementation of social hot ranking algorithm like Reddit, HackerNews

  Sources   Download

MIT

The Requires

  • php >=5.4