Using GitLab Composer Repository To Manage PHP Dependencies
summary
Demo shows how to publish a PHP package into GitLab’s Composer registry (introduced in GitLab 13.2, Premium/Ultimate) using a GitLab CI file with test and publish stages, calling the Packages API to push the package on master or a tag. It uses composer.json, CI variables for authentication (private access token), composer config to point to the registry, and a consuming project that runs composer update and prints a quote from the They Said So API — the pipeline succeeds.
AI-written summary · about
related talks
47mGitLab and PHP? It Works! Tips, Tricks and Learnings
43mUse an API contract for testing and development!
28mComposer Package Development - How to Do It Right
46mPackage Development
34mHow to open source a PHP package
58mComposer 101
01h 39mMastering git collaboration -A DevOps necessity
46mManaging dependencies is more than running "composer update"
