Logo Lanfrica

mostertb/phpsa-2018-profiles

Type de record:

software
Créateur:
mos
Hôte:
Humorous educational project built by the PHP South Africa 2018 conference attendees # PHP SA 2018 Profiles This is a fun project intended to provide a safe environment in which to practice the mechanics of contributing to a GitHub project. It was spawn out of the PHP South Africa Conference. For more details, visit our homepage. Come take part to get involved in Open Source, promote projects, win stickers and introduce yourself. # View this project online The master branch is regularly rolled out to production. It can be viewed online at phpsa2018profiles.co.za ## Instructions ### Step One Fork this Repo ### Step Two Extend the `mostertb\PHPSA2018Profiles\Profiles\AbstractProfile` class as `mostertb\PHPSA2017Profiles\Profiles\ Profile` ### Step Three Implement the following methods: * getName() * getBiography() * getGitHubUsername() * getProfileImageURL() (optional) * getMaintainedProjects() (optional) * getInvolvedProjects() (optional) * getTwitterUsername() (optional) If you get stuck, just look at someone else's Profile class for inspiration... ### Step Four Add your new Bio class to the construction of `mostertb\PHPSA2018Profiles\Kernel` : ```php // In src/Kernel.php public function __construct() { $this->profiles = array( // ... new Profile(), // ... ); } ``` Added Gravatar Package. You can now specify your Gravatar by instantiating the GravatarApi Class, and using the getUrl method with your email address associated with Gravatar. ### Step Four Point Five Test your newly modified code with `composer test`. Resolve any issues the command raises. ### Step Five Submit Pull Request (How TO) ### Step Six Tweet your Pull Request @PHPSouthAfrica with the tag #PHPSA2018Profiles *This step is super important to the humor :)* ### Step Seven PROFIT $$ Once your Pull Request is accepted, go say hi to Brad Mostert and he'll give you a GitHub sticker! ## Where To Next Now that you are one more 'OpenSource' contribution stronger, why not go have a look at Digital Ocean's Hacktoberfest initiative. Alternatively, have a l …

Licenses