jiabin/julius-referer-bundle
A Symfony bundle that integrates Julius referer parsing to detect and classify incoming traffic sources from the HTTP Referer header. Use it to identify search engines, social networks, and direct visits for analytics, attribution, and personalized content.
Referer header, persist it against the session/visitor). That makes it a concrete anchor when comparing "write a small middleware ourselves" against "pay for GA4, Plausible, Fathom, or a CDP."Important caveat for the decision record: despite the framing, this is not a Laravel package. It is a Symfony bundle (jiabin/JuliusRefererBundle), last released June 2014, with zero stars, zero dependents, and no maintenance signal. Treat it as a reference design, not a candidate dependency.
Consider it only in narrow, low-risk circumstances:
Look elsewhere — usually immediately — when:
TrackReferer listener; writing it yourself is cheaper than bridging an unrelated framework's bundle.Referrer-Policy: no-referrer, HTTPS→HTTP downgrades, native apps, privacy browsers), so referer-only data will systematically undercount. If attribution is a product requirement, buy a tool that also uses UTM parameters, click IDs (gclid, fbclid), and server-side events.For executives: We evaluated a referer-tracking package for our acquisition analytics work. It does the narrow job it claims — capturing where a visitor came from — but it is an unmaintained Symfony bundle last updated in 2014, with no adoption and no Laravel compatibility. My recommendation is not to adopt it as a dependency. Instead, treat it as a low-cost proof that referer capture is a small, well-understood piece of engineering: we can build the equivalent in-house in a fraction of a sprint, or buy it as part of an analytics platform. The real decision on the table is build vs. buy for attribution, not "should we use this package" — and either path costs less than inheriting an eleven-year-old unmaintained dependency.
For engineering: No adoption recommended. It's a Symfony bundle, not Laravel, with a 2014 last release and no PHP 8 support. The idea is ~one middleware: read Referer on inbound requests, normalize to a host/channel, persist on the session or user record. If we want it, I'd rather we own those 50–100 lines and add tests for the edge cases that matter to us — stripped headers, Referrer-Policy, UTM fallback, and retention/consent rules. If there's a legacy Symfony app in the estate still using it, let's scope removal as part of that app's retirement plan.
How can I help you explore Laravel packages today?