Skip to content

Commit

Permalink
Merge pull request #4 from GoogleChromeLabs/update/readme-install-ins…
Browse files Browse the repository at this point in the history
…truction

Include Composer install instruction in readme
  • Loading branch information
felixarntz authored Sep 25, 2024
2 parents de7d614 + 4eddaee commit 4db7a9d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
```

0 comments on commit 4db7a9d

Please sign in to comment.