2017 © Pedro Peláez
 

library open-source-evangelist-status

This package aims to provide an analysis based on the number of open source projects an individual possess on Github. A comprehensive README is needed.

image

laztopaz/open-source-evangelist-status

This package aims to provide an analysis based on the number of open source projects an individual possess on Github. A comprehensive README is needed.

  • Sunday, April 3, 2016
  • by andela-tolotin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Open Source Evangelist

Coverage Status Build Status Scrutinizer Code Quality, (*1)

--, (*2)

This package aims to provide an analysis based on the number of open source projects an individual possess on Github. It also, rank GitHub users based on number of repositories they have. Below are the ranking;, (*3)

Number of repository < 5 : Lazy Evangelist.
Number of repository >= 5 and Number of repository <= 10 : Junior Evangelist.
Number of repository >= 11 and Number of repository <= 20 : Associate Evangelist.
Number of repository >= 21 : Senior Evangelist.

Installation

PHP 5.5+ and Composer are required. via composer, (*4)

$ composer require Laztopaz/OpenSourceEvangelistStatus

Install, (*5)

$ composer install 

Usage 1

  1. Import the package, (*6)

    use Laztopaz\OpenSourceEvangelistStatus\ EvangelistStatus;, (*7)

  2. Instatiate EvangelistStatus class, (*8)

    $status = new EvangelistStatus($github_username);, (*9)

  3. Display the status of the user., (*10)

    echo $status->getStatus();, (*11)

Usage 2

To catch exception in case the GitHub username is not provided or invalid., (*12)

use Laztopaz\OpenSourceEvangelistStatus\EvangelistStatus;

try {
    $status = new EvangelistStatus($github_username);
    echo $status->getStatus();
} catch (Exception $e) {
  echo 'Caught Exception '. $e->getMessage();
}

Testing

On your terminal run., (*13)

 $ composer test or phpunit test

Contributing

To contribute and extend the scope of this package, Please check out CONTRIBUTING file for detailed contribution guidelines., (*14)

Credits

open-source-evangelist is created and maintained by Temitope Olotin., (*15)

The Versions

03/04 2016

dev-evangelist

dev-evangelist

This package aims to provide an analysis based on the number of open source projects an individual possess on Github. A comprehensive README is needed.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Temitope Olotin