Only User-Agent and the visitor IP (X-Forwarded-For) are forwarded to Plausible. Previously all request headers were forwarded, including Cookie and Authorization, and Plausible saw the server IP instead of the visitor's.
All event fields are forwarded (i, $, h etc. were previously dropped by validated()).
Plausible's upstream status and body are returned instead of a hardcoded {"status":"queued"}.
p accepts both an array and a JSON-encoded string.
Dependencies / CI
Drop Laravel 10 (illuminate/contracts^11.0||^12.0)
Remove the CI step that removed Larastan for Laravel 12
Remove broken facade alias and dead autoload paths
Ignore Larastan's noEnvCallsOutsideOfConfig for the package config file (false positive)
Docs
README: new package name, Gitea badges, no emojis, upgrade guide, removed links to missing files
Removed invalid FUNDING.yml, issue template points to Gitea issues and email
Testing
composer test: 8 passed
composer analyse: no errors
vendor/bin/pint --test: passed
After merge
Tag v2.0.0
Submit mattitja/laravel-plausible-proxy to Packagist
Mark mattitjaab/laravel-plausible-proxy as abandoned in favour of the new package
## Summary
Breaking release (v2.0): renames the package and namespace, fixes header forwarding in the event proxy and cleans up dependencies and docs.
### Rename
- Composer package: `mattitjaab/laravel-plausible-proxy` -> `mattitja/laravel-plausible-proxy`
- Namespace: `MattitjaAB\LaravelPlausibleProxy` -> `Mattitja\LaravelPlausibleProxy`
- Homepage and links now point to git.mattitja.se
### Event proxy
- Only `User-Agent` and the visitor IP (`X-Forwarded-For`) are forwarded to Plausible. Previously all request headers were forwarded, including `Cookie` and `Authorization`, and Plausible saw the server IP instead of the visitor's.
- All event fields are forwarded (`i`, `$`, `h` etc. were previously dropped by `validated()`).
- Plausible's upstream status and body are returned instead of a hardcoded `{"status":"queued"}`.
- `p` accepts both an array and a JSON-encoded string.
### Dependencies / CI
- Drop Laravel 10 (`illuminate/contracts` `^11.0||^12.0`)
- Larastan 3, PHPStan plugins 2, testbench `^9.0||^10.0`
- Remove the CI step that removed Larastan for Laravel 12
- Remove broken facade alias and dead autoload paths
- Ignore Larastan's `noEnvCallsOutsideOfConfig` for the package config file (false positive)
### Docs
- README: new package name, Gitea badges, no emojis, upgrade guide, removed links to missing files
- Removed invalid `FUNDING.yml`, issue template points to Gitea issues and email
## Testing
- `composer test`: 8 passed
- `composer analyse`: no errors
- `vendor/bin/pint --test`: passed
## After merge
1. Tag `v2.0.0`
2. Submit `mattitja/laravel-plausible-proxy` to Packagist
3. Mark `mattitjaab/laravel-plausible-proxy` as abandoned in favour of the new package
- 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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Breaking release (v2.0): renames the package and namespace, fixes header forwarding in the event proxy and cleans up dependencies and docs.
Rename
mattitjaab/laravel-plausible-proxy->mattitja/laravel-plausible-proxyMattitjaAB\LaravelPlausibleProxy->Mattitja\LaravelPlausibleProxyEvent proxy
User-Agentand the visitor IP (X-Forwarded-For) are forwarded to Plausible. Previously all request headers were forwarded, includingCookieandAuthorization, and Plausible saw the server IP instead of the visitor's.i,$,hetc. were previously dropped byvalidated()).{"status":"queued"}.paccepts both an array and a JSON-encoded string.Dependencies / CI
illuminate/contracts^11.0||^12.0)^9.0||^10.0noEnvCallsOutsideOfConfigfor the package config file (false positive)Docs
FUNDING.yml, issue template points to Gitea issues and emailTesting
composer test: 8 passedcomposer analyse: no errorsvendor/bin/pint --test: passedAfter merge
v2.0.0mattitja/laravel-plausible-proxyto Packagistmattitjaab/laravel-plausible-proxyas abandoned in favour of the new packagemathiaspalmqvist referenced this pull request2026-11-12 07:27:54 +00:00