From 20bc19e7cbbbcec161029c702fc8ba7465750882 Mon Sep 17 00:00:00 2001 From: Tim Cosgrove Date: Tue, 24 Dec 2024 13:59:49 -0800 Subject: [PATCH] docs: Create packagist.md Describing how Packagist is updated. --- docs/packagist.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/packagist.md diff --git a/docs/packagist.md b/docs/packagist.md new file mode 100644 index 0000000000..5e7c4f135d --- /dev/null +++ b/docs/packagist.md @@ -0,0 +1,7 @@ +# Content Build in Packagist +[Packagist](https://packagist.org/) is the main public package library, similar to NPM for Javascript or Gems for Ruby. [Composer](https://getcomposer.org/) is used to manage PHP packages for a given application, similar to the `npm` or `gem` applications. + +[Content Build is published to Packagist as a public package](https://packagist.org/packages/va-gov/content-build). This enables PHP applications to pull in Content Build via its Composer document as part of its build process. + +## Updating Content Build on Packagist +Content Build on Packagist is updated automatically via webhook; see [Packagist's documentation for Github webhook integration](https://packagist.org/about), and Content Build's own Github settings for the specifics of the webhook.