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. [Admin Panels](/categories/admin)
4. /
5. anthonykusuma/laravel-devtools

ActiveLibrary[Admin Panels](/categories/admin)

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

Secure internal developer tools dashboard for Laravel applications.

v0.1.2(2mo ago)03MITPHPPHP ^8.2

Since Apr 8Pushed 2mo 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 2w ago

READMEChangelog (1)Dependencies (26)Versions (4)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

35

—

LowBetter than 77% of packages

Maintenance86

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

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 ~2 days

Total

3

Last Release

73d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2704134?v=4)[Anthony Kusuma Atmaja](/maintainers/anthonykusuma)[@anthonykusuma](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[laravel/pulse

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

1.7k14.1M122](/packages/laravel-pulse)[laravel/cashier

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

2.5k28.4M137](/packages/laravel-cashier)[laravel/ai

The official AI SDK for Laravel.

9782.1M161](/packages/laravel-ai)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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