PHPackages                             escolalms/tracker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. escolalms/tracker

ActivePackage[Utility &amp; Helpers](/categories/utility)

escolalms/tracker
=================

Escola Headless LMS Tracker

0.1.0(2y ago)07.3kMITPHPPHP &gt;=7.4

Since Mar 4Pushed 2y ago2 watchersCompare

[ Source](https://github.com/EscolaLMS/Tracker)[ Packagist](https://packagist.org/packages/escolalms/tracker)[ RSS](/packages/escolalms-tracker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (17)Used By (0)

Tracker
=======

[](#tracker)

[![swagger](https://camo.githubusercontent.com/bf46f50926ef796b1bb0b6e41af746af52ff3aacdffb0533450f3b614a7334a2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d737761676765722d677265656e)](https://escolalms.github.io/Tracker/)[![codecov](https://camo.githubusercontent.com/ccee17d1d6a5d00f77759bfe2dabc2c5ef08ad84d61aa723b6364a849e88d80b/68747470733a2f2f636f6465636f762e696f2f67682f4573636f6c614c4d532f547261636b65722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4e52414e34523841475a)](https://codecov.io/gh/EscolaLMS/Tracker)[![phpunit](https://github.com/EscolaLMS/Tracker/actions/workflows/test.yml/badge.svg)](https://github.com/EscolaLMS/Tracker/actions/workflows/test.yml)[![downloads](https://camo.githubusercontent.com/8ce80a9dffdf4e18c4e87abc2fb56315cb21f841322d4605a375d2202f012b7c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6573636f6c616c6d732f747261636b6572)](https://packagist.org/packages/escolalms/tracker)[![downloads](https://camo.githubusercontent.com/f86766688d1a79bb7b64af1e49b75a031d846d08b83282169cac4ed7fc4e3e63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6573636f6c616c6d732f747261636b6572)](https://packagist.org/packages/escolalms/tracker)[![downloads](https://camo.githubusercontent.com/8a8c0d0034dfd2bd123f21934b280612d2176d985ac49944f44099954496dfbc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6573636f6c616c6d732f747261636b6572)](https://packagist.org/packages/escolalms/tracker)

What does it do
---------------

[](#what-does-it-do)

The package is used to track the api route. Tracker is enabled by default and track routes with `/api/admin` prefix. By default, `/api/admin/tracks/routes` is ignored.

Installing
----------

[](#installing)

- `composer require escolalms/tracker`
- `php artisan migrate`
- `php artisan db:seed --class="EscolaLms\Tracker\Database\Seeders\TrackerPermissionSeeder"`

Configuration
-------------

[](#configuration)

You can configure this package by specifying keys in the .env file.

- `TRACKER_ENABLED` - enable or disable route tracking
- `TRACKER_ROUTE_PREFIX` - set tracked route prefix
- `TRACKER_CONNECTION` - database connection, by default `sqlite`

You can also use [facade](src/Facades/Tracker.php) to configure tracker.

```
Tracker::disable();
Http::get('api/admin/example-route')
Tracker::enable();

...

Tracker::ignoreUris(['api/admin/example-route']);
Http::get('api/admin/example-route')

...

Tracker::prefix('api');
Http::get('api/example-route')
```

Database
--------

[](#database)

```
TrackRoutes - stores tracked routes

```

Table `track_routes` sample rows

iduser\_idpathfull\_pathmethodextracreated\_atupdated\_at12/api/admin/example-1/api/admin/example-1?key=valueGETNULL2022-04-14 08:49:252022-04-14 08:49:25233/api/admin/example-2/api/admin/example-2POSTNULL2022-04-14 08:49:252022-04-14 08:49:25Endpoints
---------

[](#endpoints)

[![swagger](https://camo.githubusercontent.com/bf46f50926ef796b1bb0b6e41af746af52ff3aacdffb0533450f3b614a7334a2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d737761676765722d677265656e)](https://escolalms.github.io/Tracker/)

Tests
-----

[](#tests)

Run `./vendor/bin/phpunit` to run tests. See [tests](tests) folder as it's quite good staring point as documentation appendix.

[![codecov](https://camo.githubusercontent.com/ccee17d1d6a5d00f77759bfe2dabc2c5ef08ad84d61aa723b6364a849e88d80b/68747470733a2f2f636f6465636f762e696f2f67682f4573636f6c614c4d532f547261636b65722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4e52414e34523841475a)](https://codecov.io/gh/EscolaLMS/Tracker)[![phpunit](https://github.com/EscolaLMS/Tracker/actions/workflows/test.yml/badge.svg)](https://github.com/EscolaLMS/Tracker/actions/workflows/test.yml)

Permissions
-----------

[](#permissions)

Permissions are defined in [seeder](database/seeders/TrackerPermissionSeeder.php)

Problems
--------

[](#problems)

- No permission to write to the database:

    If you encounter such an error you need to check the permissions of the `database.sqlite` file on the server. If the file is not given write permissions, SQL will throw an error about not being able to write. The file should have at least 0666 permissions.
- track\_routes table not found:

    The error occurs because the migrations that create the tables have not been run. There is only an empty database file. You should run the `php artisan oprimize:clear` or `php artisan cache:clear` command. SqliteServiceProvider will check from the values in the cache whether migrations have been run and if the table does not exist it will create it in the database.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Recently: every ~116 days

Total

15

Last Release

824d ago

PHP version history (2 changes)0.0.1PHP ^7.4|^8.0

0.1.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/c857f3115c790c573d0617d7e9ba4011269ef7b9dfdb003dc4388846a62b14f7?d=identicon)[qunabu](/maintainers/qunabu)

---

Top Contributors

[![dyfero](https://avatars.githubusercontent.com/u/59400506?v=4)](https://github.com/dyfero "dyfero (22 commits)")[![qunabu](https://avatars.githubusercontent.com/u/214608?v=4)](https://github.com/qunabu "qunabu (4 commits)")[![HerbertIV](https://avatars.githubusercontent.com/u/62691459?v=4)](https://github.com/HerbertIV "HerbertIV (2 commits)")[![mako321](https://avatars.githubusercontent.com/u/59456825?v=4)](https://github.com/mako321 "mako321 (2 commits)")[![dicani0](https://avatars.githubusercontent.com/u/58490533?v=4)](https://github.com/dicani0 "dicani0 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/escolalms-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/escolalms-tracker/health.svg)](https://phpackages.com/packages/escolalms-tracker)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
