Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Package Development & Open Sourcery

Package Development & Open Sourcery

Otemuyiwa Prosper

May 13, 2016
Tweet

More Decks by Otemuyiwa Prosper

Other Decks in Technology

Transcript

  1. • Full Stack Bearded Dude • Technical Trainer @ Andela

    • Blogs at goodheads.io • Twitter, Github and Instagram Handle @unicodeveloper
  2. Where are we now? Website: https://getcomposer.org/ Reusable PHP Classes and

    Packages are hosted on https: //packagist.org Reusable Laravel Packages can found on http://packalyst. com/
  3. Principles to observe when building a package? 1. Keep It

    Simple - KISS 2. Test thoroughly 3. Write good documentation
  4. • Make sure composer is installed • Run composer init

    and answer the questions accordingly
  5. • Create a github repo for the package & push

    to Git • Login to Packagist and submit the url to the Github repo
  6. - Push again to Github and then come back to

    this page and update the package by clicking the Update button
  7. • Integrate with Coveralls to have a badge show that

    shows test coverage • Integrate with Travis or CirceCI to make sure it runs your tests and also attach the badge to the repo • Integrate with Scrutinizer CI for Code Quality
  8. Why Should I contribute to Open Source? 1. You’ll be

    helping someone cut development time by half. 2. You’ll be making the world a better place 3. You’ll become a better programmer 4. You’ll build your reputation as a programmer 5. Opportunities abound
  9. Nigerians I know that contribute to Open source • Ire

    Aderinokun https://github.com/ireade