~/talk

How to open source a PHP package

Talkat phpDay 2017 · 2017-05-12..05-13· [open-source, php]
speakerdeck:reinink
slides:none on file

Walks through a practical PHP Package Checklist with concrete steps: Composer and PSR‑4 autoloading setup, semantic versioning and changelog practices (keepachangelog.com), writing unit tests and wiring a continuous integration workflow, and a live example using Glide to show results and Google Analytics traffic. Covers documentation structure — pitch, example, guides, reference — and tooling choices like Jekyll + GitHub Pages, syntax highlighters (Rouge or Prism.js) and DocSearch for site search, with implementation tips that actually work.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39PHP League
  3. 1:09Documentation
  4. 1:54Teaching
  5. 2:46Consuming documentation
  6. 3:21Good documentation
  7. 3:34Myths on documentation
  8. 3:45Myth 1 Read the code
  9. 4:29Myth 2 Autogenerated API docs
  10. 5:49Myth 3 Readme
  11. 6:13Myth 4 Documentation
  12. 6:39Myth 5 Documentation
  13. 7:05Incremental II
  14. 7:29Why Documentation
  15. 8:57What makes good documentation
  16. 9:17The Pitch
  17. 9:32Elevator Speech
  18. 9:57Why it matters
  19. 10:32Bonus points
  20. 10:59Not acceptable
  21. 11:38Licenses
  22. 12:48Minimum viable example
  23. 13:25Guitar lesson example
  24. 14:34Google Analytics
  25. 14:58screencasts
  26. 15:32guides
  27. 17:21table of contents
  28. 18:08subtitles
  29. 18:38examples
  30. 18:59reference
  31. 19:25changelog
  32. 19:40notes
  33. 20:09change log
  34. 20:48GitHub pages
  35. 21:36API docs
  36. 22:06Welcome contributions
  37. 22:49Documentation layout
  38. 24:49Design matters
  39. 25:43Fonts
  40. 26:15Colors
  41. 26:58Content
  42. 27:31Syntax Highlighting
  43. 28:57Search
  44. 30:28Document Correction
  45. 31:12Install Google Analytics
  46. 31:42One last thought
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.