Slide 1

Slide 1 text

PACKAGE DEVELOPMENT & OPEN SOURCERY LAGOS LARAVEL MEETUP @unicodeveloper

Slide 2

Slide 2 text

Who am I ?

Slide 3

Slide 3 text

● Full Stack Bearded Dude ● Technical Trainer @ Andela ● Blogs at goodheads.io ● Twitter, Github and Instagram Handle @unicodeveloper

Slide 4

Slide 4 text

Where are we coming from? 1. PEAR 2. PHPCLASSES.ORG 3. SOURCEFORGE.NET

Slide 5

Slide 5 text

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/

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

Principles to observe when building a package? 1. Keep It Simple - KISS 2. Test thoroughly 3. Write good documentation

Slide 9

Slide 9 text

● Make sure composer is installed ● Run composer init and answer the questions accordingly

Slide 10

Slide 10 text

● Setup your Folder Structure ● Setup Autoloading

Slide 11

Slide 11 text

● Create a github repo for the package & push to Git ● Login to Packagist and submit the url to the Github repo

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

- Push again to Github and then come back to this page and update the package by clicking the Update button

Slide 16

Slide 16 text

● 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

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

Nigerians I know that contribute to Open source ● Ire Aderinokun https://github.com/ireade

Slide 19

Slide 19 text

Tunbosun Ayinla - https://github.com/tubiz Builds lots of Wordpress plugins

Slide 20

Slide 20 text

Prosper Otemuyiwa - https://github.com/unicodeveloper

Slide 21

Slide 21 text

Save Lives By Contributing To Open Source Today - @unicodeveloper

Slide 22

Slide 22 text

THE END!