antonioribeiro / antonioribeiro/tracker

use_middleware doesn't work - how to start tracker?

Open
#475 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

I don't want to generally enable the tracker but need activate it by middleware or command.

The "use_middleware" seems not to be implemented.

How to start it?
use Tracker;
Tracker::currentSession();

Doesn't work!!

It only works with 'enabled' => true, in the config for each request.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the use_middleware configuration and the middleware entry point, then compare that path with the enabled => true configuration described in the issue. Done means Tracker::currentSession() works for a request when activation is performed through middleware or a command without globally enabling the tracker.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.