Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Mar 5, 2024
2 parents a7ff750 + e918ffb commit a2a494e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: ['8.1', '8.2','8.3']
php: ['8.1','8.2','8.3']
laravel: ['9.*','10.*','11.*']
stability: [prefer-lowest, prefer-stable]
exclude:
Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ This package is the official Laravel integration for [Pirsch Analytics](https://
composer require pirsch-analytics/laravel-pirsch
```
2. Add the Pirsch access token to your `.env` file. Leave it empty in non-production environments to disable tracking:
```bash
# ...

PIRSCH_TOKEN=pa_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
1. Visit the [Pirsch "Integration" settings page](https://dashboard.pirsch.io/settings/integration).
2. Make sure the correct domain is selected in the top left corner of the page.
3. Scroll down to the "Clients" section and press the "Add Client" button.
4. Select "Access Key (write-only)" as type and enter a description.
5. Press the "Create Client" button and copy the generated "Client secret".
6. Add the copied token to your `.env` file:

```bash
# ...

PIRSCH_TOKEN=pa_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

## Usage

Expand Down

0 comments on commit a2a494e

Please sign in to comment.