From 4eddaeea312339b812a5244d92d15220becd8e59 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Wed, 25 Sep 2024 10:59:09 -0700 Subject: [PATCH] Include Composer install instruction in readme. --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fd113b8..42a50f6 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,14 @@ This package is a collection of classes and utilities that can be used to effici It relies on the platform agnostic solution from [Third Party Capital](https://github.com/GoogleChromeLabs/third-party-capital). +## Installation + +You can include this package in your WordPress project using Composer: + +``` +composer require googlechromelabs/wp-third-parties:^1.0 +``` + ## Usage ### Google Analytics @@ -69,9 +77,3 @@ echo $yte->get_html(); ``` See the [YouTube Embed JSON schema](https://github.com/GoogleChromeLabs/third-party-capital/blob/main/data/youtube-embed.json) for the full list of supported arguments. - -## Getting started - -``` -composer install -```