PHPackages                             anthonykusuma/laravel-devtools - 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. anthonykusuma/laravel-devtools

ActiveLibrary

anthonykusuma/laravel-devtools
==============================

Secure internal developer tools dashboard for Laravel applications.

v0.1.1(1mo ago)03↓100%MITPHPPHP ^8.2

Since Apr 8Pushed 4w agoCompare

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

READMEChangelog (1)Dependencies (13)Versions (3)Used By (0)

Laravel Devtools
================

[](#laravel-devtools)

Laravel Devtools is a reusable Laravel package that exposes a protected, URL-based internal operations dashboard. It provides safe, audited access to approved operational actions without giving arbitrary shell or infrastructure access.

Features (V1)
-------------

[](#features-v1)

- Dashboard overview (`/devtools` by default)
- Safe command execution from a strict whitelist
- Backup integration powered by `spatie/laravel-backup` (included as a package dependency)
- Read-only recent log viewing with simple filtering and secret redaction
- Audit log for privileged actions
- Optional Nightwatch deep-link support

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

[](#installation)

1. Require the package in your host Laravel app:

```
composer require anthonykusuma/laravel-devtools
```

2. Publish config and migrations:

```
php artisan vendor:publish --provider="AnthonyKusuma\\LaravelDevtools\\DevtoolsServiceProvider" --tag=devtools-config
php artisan vendor:publish --provider="AnthonyKusuma\\LaravelDevtools\\DevtoolsServiceProvider" --tag=devtools-migrations
```

3. Run migrations:

```
php artisan migrate
```

4. Define gates in your host app (for example in `AuthServiceProvider`):

```
Gate::define('viewDevtools', fn ($user) => $user->is_admin);
Gate::define('runDevtoolsCommands', fn ($user) => $user->is_admin);
Gate::define('triggerDevtoolsBackups', fn ($user) => $user->is_admin);
Gate::define('viewDevtoolsLogs', fn ($user) => $user->is_admin);
Gate::define('viewDevtoolsAudit', fn ($user) => $user->is_admin);
```

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

[](#configuration)

Published config: `config/devtools.php`

Important keys:

- `enabled`: global package toggle
- `path`: route prefix (`devtools` by default)
- `middleware`: route middleware stack
- `gate`: base access gate
- `features`: per-feature toggles
- `commands`: allowed Artisan commands
- `logs`: log reader driver/path/max lines
- `nightwatch`: optional Nightwatch link settings

Assets
------

[](#assets)

The package ships with Blade views and package-scoped CSS/JS under `resources/`.

Asset development uses Vite + Tailwind:

```
npm install
npm run build
```

You can publish package assets with:

```
php artisan vendor:publish --provider="AnthonyKusuma\\LaravelDevtools\\DevtoolsServiceProvider" --tag=devtools-assets
```

Security Notes
--------------

[](#security-notes)

- Arbitrary command input is not supported.
- Only commands listed in config are executable.
- Privileged actions are audited.
- Log viewer is read-only and bounded.
- Optional integrations fail closed with explicit unavailable states.

Testing
-------

[](#testing)

Run package tests:

```
composer test
```

Development Roadmap
-------------------

[](#development-roadmap)

- Queue support for long-running command/backup actions
- Richer backup status insights when Spatie backup metadata is available
- More advanced log filtering and pagination
- Additional health widgets on dashboard

Public Publishing
-----------------

[](#public-publishing)

For Packagist release steps, see [`docs/public-release.md`](docs/public-release.md).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance94

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

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

Total

2

Last Release

31d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45a7b43c11e10f4b9fd2e3508cc3c3e0add3c90a7abedffba94c594a0557b7c1?d=identicon)[anthonykusuma](/maintainers/anthonykusuma)

---

Top Contributors

[![anthonykusuma](https://avatars.githubusercontent.com/u/2704134?v=4)](https://github.com/anthonykusuma "anthonykusuma (3 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/anthonykusuma-laravel-devtools/health.svg)

```
[![Health](https://phpackages.com/badges/anthonykusuma-laravel-devtools/health.svg)](https://phpackages.com/packages/anthonykusuma-laravel-devtools)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

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

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

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

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

2.5k25.9M106](/packages/laravel-cashier)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M529](/packages/laravel-passport)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[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)
