Commit Graph
23 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
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 15e9fcc186 Clean 2025-06-25 21:21:07 +02:00
mathiaspalmqvist 42404cc2cc Cleanup 2025-06-25 21:10:11 +02:00
mathiaspalmqvist 0e25ead520 Added support for L12 2025-06-16 22:30:57 +02: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 3b6afc54f9 Merge branch 'main' of github.com:MattitjaAB/laravel-plausible-proxy 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 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 96fc5e7e4e Added requirements 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 0c04a30175 Init 2025-01-30 22:19:54 +01:00