Package Development
summary
Starts with concrete checklist items: pick a stable name, publish on GitHub, use PSR-4 autoloading, run tests on Travis or Circle CI, and write changelogs. Gives counts and odd specifics — 17 colleagues, a 100 km (62 mile) run in 10h36m — and tools actually used like composer require, guzzle adapters, PHP HTTP adapter and changehub.io for releases. Explains decoupling with a virtual package to let users pick adapters, and why tests, licenses, and small frequent releases matter.
AI-written summary · about
chapters (19)
- 0:00Intro
- 0:19Package development
- 4:38BEGINNER STEPS - VERSIONS
- 5:37BEGINNER STEPS -CODE STYLE
- 6:56BEGINNER STEPS - TESTS/SPECS
- 8:12BEGINNER STEPS - VERSIONING
- 9:07BEGINNER STEPS - CHANGELOG
- 13:21BEGINNER STEPS - CONTRIBUTING
- 14:05BEGINNER STEPS - MINT 1
- 16:09INTERMEDIATE TIPS - ENVIRONMENTS -CI
- 17:52INTERMEDIATE TIPS - CLEAN DISTS "autoload"
- 18:37INTERMEDIATE TIPS -COMPOSER SCRIPTS
- 20:42INTERMEDIATE TIPS -CODE STYLE
- 21:44INTERMEDIATE TIPS - RECAP
- 24:23DECOUPLING - HTTP EXAMPLE
- 28:22DECOUPLING - OTHER CASES
- 29:19DECOUPLING - INTERFACES
- 32:11DECOUPLING - BENEFITS
- 32:49DECOUPLING - RECAP
related talks
34mHow to open source a PHP package
34mLevel up with a Microservices architecture
28mComposer Package Development - How to Do It Right
26mTheory of programming: packaging principles
44mWhy PHP?
38mPHP FIG: Helping communities work together
45m30 Years of PHP, 25 Years of Testing: A Journey Through Code and Community
36mTwenty lessons from twenty years of PHP
