Commit Graph
46 Commits
Author SHA1 Message Date
mathiaspalmqvist 513ceb61a0 Support custom Plausible script path
dependabot-auto-merge / dependabot (pull_request_target) Skipped
Fix PHP code style issues / php-code-styling (push) Successful in 6s
PHPStan / phpstan (push) Successful in 2m32s
run-tests / P8.3 - L11.* - prefer-lowest - ubuntu-latest (push) Failing after 34s
run-tests / P8.4 - L11.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L11.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L12.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L12.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L12.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L12.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L11.* - prefer-stable - ubuntu-latest (push) Canceled after 2s
Add a PLAUSIBLE_SCRIPT config option so site-specific scripts
(js/pa-XXXXX.js) and legacy script extensions can be proxied. The
script is still served locally from /js/script.js and the cache key
is derived from the script URL so changing the script takes effect
immediately.

Closes #14
2026-11-12 08:27:43 +01:00
mathiaspalmqvist a60e4cbdcf Rename package to mattitja/laravel-plausible-proxy
dependabot-auto-merge / dependabot (pull_request_target) Skipped
PHPStan / phpstan (push) Successful in 2m32s
run-tests / P8.3 - L11.* - prefer-lowest - ubuntu-latest (push) Failing after 34s
Fix PHP code style issues / php-code-styling (push) Successful in 6s
run-tests / P8.4 - L11.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L11.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L12.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L12.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L12.* - prefer-lowest - ubuntu-latest (push) Canceled after 0s
run-tests / P8.4 - L12.* - prefer-stable - ubuntu-latest (push) Canceled after 0s
run-tests / P8.3 - L11.* - prefer-stable - ubuntu-latest (push) Canceled after 2s
- Rename Composer package to mattitja/laravel-plausible-proxy and
  namespace to Mattitja\LaravelPlausibleProxy
- Point homepage and links to git.mattitja.se
- Forward only User-Agent and visitor IP (X-Forwarded-For) to Plausible
  instead of all request headers
- Forward all event fields and return Plausible's upstream response
- Accept props as array or JSON string
- Drop Laravel 10, upgrade Larastan to 3 and PHPStan plugins to 2
- Remove broken facade alias and dead autoload paths
- Clean up README, issue template and remove invalid FUNDING.yml
2026-11-12 08:24:45 +01:00
github-actions[bot] 7f8eff628f Merge pull request #13 from MattitjaAB/dependabot/github_actions/dependabot/fetch-metadata-2.5.0
Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0
2026-01-12 03:59:10 +00:00
dependabot[bot] 2196ec5d2d Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-12 03:58:59 +00:00
github-actions[bot] 364fbe7b4b Merge pull request #9 from MattitjaAB/dependabot/github_actions/aglipanci/laravel-pint-action-2.6
Bump aglipanci/laravel-pint-action from 2.5 to 2.6
2025-07-28 04:38:19 +00:00
dependabot[bot] 576c9803dc Bump aglipanci/laravel-pint-action from 2.5 to 2.6
Bumps [aglipanci/laravel-pint-action](https://github.com/aglipanci/laravel-pint-action) from 2.5 to 2.6.
- [Release notes](https://github.com/aglipanci/laravel-pint-action/releases)
- [Commits](https://github.com/aglipanci/laravel-pint-action/compare/2.5...2.6)

---
updated-dependencies:
- dependency-name: aglipanci/laravel-pint-action
  dependency-version: '2.6'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 04:38:10 +00:00
mathiaspalmqvist f451d4f0b8 Update CHANGELOG 2025-06-25 19:36:20 +00:00
Mathias fa4784c8ec Merge pull request #8 from MattitjaAB/cleanup
Cleanup
v1.5
2025-06-25 21:34:33 +02:00
mathiaspalmqvist cd00572702 WIP 2025-06-25 21:33:15 +02:00
mathiaspalmqvist 8c042b27cf WIP 2025-06-25 21:31:35 +02:00
mathiaspalmqvist 4aa046d7a7 Merge branch 'cleanup' of https://github.com/MattitjaAB/laravel-plausible-proxy into cleanup 2025-06-25 21:30:22 +02:00
mathiaspalmqvist 859dcf99be Cleanup 2025-06-25 21:30:16 +02:00
mathiaspalmqvist 2893ed0bc6 Fix styling 2025-06-25 19:27:34 +00:00
mathiaspalmqvist 15e9fcc186 Clean 2025-06-25 21:21:07 +02:00
mathiaspalmqvist 42404cc2cc Cleanup 2025-06-25 21:10:11 +02:00
mathiaspalmqvist b53047a28c Update CHANGELOG 2025-06-16 20:38:09 +00:00
Mathias 5eff0cafe5 Merge pull request #7 from MattitjaAB/6-laravel-12
Added support for L12
v1.4
2025-06-16 22:32:57 +02:00
mathiaspalmqvist 0e25ead520 Added support for L12 2025-06-16 22:30:57 +02:00
github-actions[bot] 67507d036a Merge pull request #4 from MattitjaAB/dependabot/github_actions/dependabot/fetch-metadata-2.4.0
Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0
2025-05-12 03:49:36 +00:00
dependabot[bot] 0ce7b51eff Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 03:49:27 +00:00
github-actions[bot] 891c3d8ff8 Merge pull request #3 from MattitjaAB/dependabot/github_actions/aglipanci/laravel-pint-action-2.5
Bump aglipanci/laravel-pint-action from 2.4 to 2.5
2025-02-03 03:46:55 +00:00
dependabot[bot] e2062499ae Bump aglipanci/laravel-pint-action from 2.4 to 2.5
Bumps [aglipanci/laravel-pint-action](https://github.com/aglipanci/laravel-pint-action) from 2.4 to 2.5.
- [Release notes](https://github.com/aglipanci/laravel-pint-action/releases)
- [Commits](https://github.com/aglipanci/laravel-pint-action/compare/2.4...2.5)

---
updated-dependencies:
- dependency-name: aglipanci/laravel-pint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 03:46:39 +00:00
mathiaspalmqvist 1f4bbadab7 Update CHANGELOG 2025-01-31 13:19:59 +00:00
Mathias 9c2ebc5db8 Merge pull request #2 from MattitjaAB/Remove-site
Remove site
v1.3
2025-01-31 14:16:52 +01:00
mathiaspalmqvist 32721b82cc Fix styling 2025-01-31 13:15:16 +00:00
mathiaspalmqvist 6df45258a6 Update README.md 2025-01-31 14:14:55 +01:00
mathiaspalmqvist 6a358d9d65 Removed site from config file 2025-01-31 14:04:07 +01:00
mathiaspalmqvist 6417d3bd6e Update CHANGELOG 2025-01-31 12:15:00 +00:00
mathiaspalmqvist 3b6afc54f9 Merge branch 'main' of github.com:MattitjaAB/laravel-plausible-proxy v1.2 2025-01-31 13:10:42 +01:00
mathiaspalmqvist a2c3ad76c0 Added support for 8.3 2025-01-31 13:10:39 +01:00
mathiaspalmqvist 42debe755e Added support for php 8.3 2025-01-31 13:07:08 +01:00
mathiaspalmqvist 9788f6f895 Update CHANGELOG 2025-01-31 11:39:31 +00:00
Mathias 395b15b80b Merge pull request #1 from MattitjaAB/v1.1
Refactor event forwarding and improve test coverage
v1.1
2025-01-31 12:36:54 +01:00
mathiaspalmqvist 164c3ab5dd Fix styling 2025-01-31 11:36:31 +00:00
mathiaspalmqvist 26454a9501 Refactor event forwarding and improve test coverage
- Updated event forwarding to include request headers
- Refactored validation to improve error handling
- Fixed issue with missing headers in HTTP request
- Improved test cases for event forwarding and caching
- Ensured proper handling of JSON payloads
- Fixed Plausible API URL configuration in tests
2025-01-31 12:36:07 +01:00
mathiaspalmqvist c3033e1093 Ignore Mac DS_Store files 2025-01-31 12:25:47 +01:00
mathiaspalmqvist f622f3152b Update CHANGELOG 2025-01-30 23:15:03 +00:00
mathiaspalmqvist 96fc5e7e4e Added requirements v1.0 2025-01-31 00:02:12 +01:00
mathiaspalmqvist f7e5575cfa first release 2025-01-30 23:44:18 +01:00
mathiaspalmqvist 647d62f787 Update README.md 2025-01-30 23:02:20 +01:00
mathiaspalmqvist 2ea193a63a Update composer.json 2025-01-30 22:49:02 +01:00
mathiaspalmqvist 0a2b728cb2 Merge branch 'main' of https://github.com/MattitjaAB/laravel-plausible-proxy 2025-01-30 22:21:25 +01:00
mathiaspalmqvist bdd1d3fea3 Update README.md 2025-01-30 22:21:00 +01:00
mathiaspalmqvist 155afc5a70 Fix styling 2025-01-30 21:20:20 +00:00
mathiaspalmqvist 0c04a30175 Init 2025-01-30 22:19:54 +01:00
Mathias db854b8051 Initial commit 2025-01-30 22:17:14 +01:00