Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Julius Referer Bundle

Julius Referer Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Julius referer manager

Frequently asked questions about Julius Referer Bundle
Is jiabin/julius-referer-bundle compatible with Laravel?
No. It is a Symfony bundle, not a Laravel package, and ships Symfony-specific artifacts such as a Bundle subclass, DI service definitions, and a kernel.request event listener. Laravel has no equivalent bundle system or HttpKernel event dispatcher, so the integration layer would have to be rewritten entirely. At that point only the small referer-parsing logic remains useful.
Can I install this package with Composer in a Laravel app?
You can try, but expect problems. The last release was 2014-06-24, targeting the PHP 5.3/5.4 and Symfony 2.x era, with no declared compatibility for PHP 7/8 or Symfony 5/6/7. Composer will likely report constraint conflicts, and if it installs, runtime deprecation or fatal errors are probable. It is not a dependency you should add to a modern Laravel project.
How does the bundle capture and classify the Referer header?
It registers a Symfony kernel.request listener that reads the incoming Referer header, parses it with Julius referer parsing, and classifies the source as a search engine, social network, direct visit, or similar. The result is exposed through a service API. In Laravel you would replicate this with a global middleware plus a queued classification job.
What is the Laravel equivalent of this referral tracking bundle?
A global middleware that reads Referer, Origin, and UTM query parameters, attaches them to the request context, and dispatches an event, keeping the request path free of I/O. A queued job then classifies the source and persists it to a visitor_referers table with raw referer, normalized host, channel, UTM fields, and timestamp. The classification map should live in config so it can be edited without a deploy.
Does this bundle support Laravel 9, 10, or 11?
No. There is no declared Laravel support of any version: no service provider, facade, middleware, publishable config, or Laravel-oriented documentation. Its Composer constraints target Symfony 2.x components from roughly a decade ago. Treat any assumption of Laravel compatibility as incorrect.
How should I test referer tracking in a Laravel application?
Use feature tests that set Referer, Origin, and UTM query parameters on the request, then assert the middleware stores the context and dispatches the expected event. Fake the queue with Queue::fake or Bus::fake and assert the classification job is pushed, then test the job separately against known referer strings. Include cases for a missing or stripped Referer and verify the fallback resolves to unknown or direct as configured.
Is it safe to run a 2014-era Symfony bundle in production?
It carries high technical risk. There are no declared PHP 7/8 or Symfony 5/6/7 constraints, zero stars, zero dependents, no visible test suite or CI, and no observable security review. Unmaintained code on the request path is an attack-surface concern even when the logic is trivial. Also confirm GDPR and consent requirements before storing referer data alongside user identifiers.
What are good alternatives for referer parsing in Laravel?
Prefer a maintained PHP port of the Snowplow referer-parser rule database so search-engine and social-network rules stay current; the 2014 bundle's rules will not recognize newer platforms. Alternatively, capture the raw Referer, UTM parameters, and click IDs with your own middleware and classify in a job using a config-driven channel map. Either option avoids adapting a Symfony bundle to Laravel.
How accurate is Referer-based traffic source classification today?
Less accurate than when this bundle was written. Modern browser defaults such as Chrome's strict-origin-when-cross-origin, aggressive referrer stripping in Safari and iOS, and Referrer-Policy headers mean the Referer is often origin-only or absent entirely. Full-URL classification will under-report, so use UTM parameters and click IDs as the primary signal and define an explicit unknown or direct fallback for stripped referers.
How do I migrate from this bundle to a native Laravel implementation?
There is no meaningful migration path because there is no credible way to install the bundle in a modern Laravel app in the first place. Take the concept rather than the code: build middleware capture, a queued classification job, a config-based channel map, and a visitor_referers table. Keep the ruleset current with a maintained referer-parser source so newer platforms are recognized.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections