PHPackages                             newms87/danx - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. newms87/danx

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

newms87/danx
============

Danx Auditing, Logging, and Helpers

1.2.94(2mo ago)0346MITPHPPHP ^8.3

Since May 22Pushed 2mo ago1 watchersCompare

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

READMEChangelogDependencies (46)Versions (96)Used By (0)

Danx Package
============

[](#danx-package)

Installation
------------

[](#installation)

```
composer require danx/laravel
```

Setup
-----

[](#setup)

### Publish the configuration file

[](#publish-the-configuration-file)

```
sail artisan vendor:publish --provider="Newms87\Danx\DanxServiceProvider"
```

Development
-----------

[](#development)

### Install Danx UI

[](#install-danx-ui)

[Setup Danx UI](https://github.com/newms87/quasar-ui-danx)

#### Configure CORS

[](#configure-cors)

```
sail artisan config:publish cors
```

- Configure the `paths` so the desired routes are allowed
    - NOTE: By default it is open to all requests

### Symlink the Danx library

[](#symlink-the-danx-library)

Symlinking the library will allow for realtime development of the danx library package. This is only useful for development. The command will symlink the vendor/newms87/danx package to the danx git repo that should be located in the same directory as the project.

ie:

```
- parent
  - danx
  - your-project
    - vendor
      - newms87
        - danx --> ../../../danx

```

If using docker, the danx library should be mounted to the docker container.

```
services:
  laravel.test:
    volumes:
      - '../danx:/var/www/danx'
```

Run the command

```
sail artisan danx:link
```

Publish package to composer
---------------------------

[](#publish-package-to-composer)

To publish packages, simply push a new tagged version to the repository.

```
make VERSION=1.0.0 publish
```

### Setup

[](#setup-1)

#### Audit Logging

[](#audit-logging)

- Update `config/logging.php`

```
'channels' => [

    //...

    'auditlog' => [
            'driver' => 'custom',
            'via'    => Newms87\Danx\Logging\Audit\AuditLogLogger::class,
            'level'  => env('LOG_LEVEL', 'debug'),
        ],
],
```

- Update `.env`
    - recommended to use `stack` as the main channel, so you can add additional logging channels

```
LOG_CHANNEL=stack
LOG_STACK={single},{other-log-channels},auditlog
```

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance85

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~7 days

Total

95

Last Release

78d ago

### Community

Maintainers

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

---

Top Contributors

[![flytedan](https://avatars.githubusercontent.com/u/43863725?v=4)](https://github.com/flytedan "flytedan (132 commits)")[![newms87](https://avatars.githubusercontent.com/u/4350725?v=4)](https://github.com/newms87 "newms87 (53 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/newms87-danx/health.svg)

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

###  Alternatives

[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)

PHPackages © 2026

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