PHPackages                             suman98/laravel-api-debug-with-user - 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. [API Development](/categories/api)
4. /
5. suman98/laravel-api-debug-with-user

ActiveProject[API Development](/categories/api)

suman98/laravel-api-debug-with-user
===================================

A standalone web UI to test internal Laravel API routes as any authenticated user.

v1(3mo ago)00MITPHPPHP &gt;=7.4

Since Feb 19Pushed 3mo agoCompare

[ Source](https://github.com/suman98/larave-api-debug-with-user)[ Packagist](https://packagist.org/packages/suman98/laravel-api-debug-with-user)[ RSS](/packages/suman98-laravel-api-debug-with-user/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Laravel API Debug with User
===========================

[](#laravel-api-debug-with-user)

A standalone web UI to test **internal Laravel API routes** as any authenticated user — without Postman, curl, or writing test code.

[![PHP](https://camo.githubusercontent.com/c3362351d1264fd924675776c4f8307bf5f229fa15cbbd49d020909278dadb3a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344372e342d626c7565)](https://camo.githubusercontent.com/c3362351d1264fd924675776c4f8307bf5f229fa15cbbd49d020909278dadb3a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344372e342d626c7565)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)

Features
--------

[](#features)

- 🚀 Call any internal Laravel route (GET, POST, PUT, PATCH, DELETE)
- 🔐 Authenticate as any user by ID
- 📝 JSON or Key-Value payload editor
- 🎨 Dark / Light theme with persistence
- 📋 Multiple request cards with localStorage persistence
- 🖥️ Fullscreen response viewer with JSON syntax highlighting
- 📄 HTML error page rendering (iframe preview)

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

[](#installation)

### Option 1 — Clone &amp; Run (standalone)

[](#option-1--clone--run-standalone)

```
git clone https://github.com/suman98/laravel-api-debug-with-user.git
cd laravel-api-debug-with-user
composer install
cp .env.example .env
```

Edit `.env` and set the path to your Laravel project:

```
LARAVEL_PROJECT_PATH=/path/to/your/laravel/project

```

Start the server:

```
php bin/serve
# or with custom host/port:
php bin/serve 0.0.0.0 9000
```

Open **** in your browser.

### Option 2 — Install via Composer

[](#option-2--install-via-composer)

```
composer require suman98/laravel-api-debug-with-user --dev
```

Create a `.env` in your project root (or wherever you run the command from):

```
LARAVEL_PROJECT_PATH=/path/to/your/laravel/project

```

Run the built-in server:

```
./vendor/bin/serve
```

Project Structure
-----------------

[](#project-structure)

```
├── bin/
│   └── serve                  # CLI dev server script
├── public/
│   └── index.php              # Web UI entry point
├── src/
│   ├── Bootstrap.php          # Laravel bootstrapper (loads .env + app)
│   └── InternalApiCaller.php  # API caller class
├── .env.example
├── composer.json
└── readme.md

```

How It Works
------------

[](#how-it-works)

1. The tool bootstraps your **external Laravel application** using the path from `LARAVEL_PROJECT_PATH`.
2. It authenticates as any user via `Auth::setUser()`.
3. It dispatches an internal `Request` through Laravel's HTTP kernel.
4. The response (JSON or HTML) is rendered in the browser.

The User model is resolved automatically from your Laravel project's `config('auth.providers.users.model')` — no hardcoded model references.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4
- A Laravel project (any version with HTTP Kernel)
- Composer

License
-------

[](#license)

MIT

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance79

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

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

Unknown

Total

1

Last Release

110d ago

### Community

Maintainers

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

---

Top Contributors

[![suman98](https://avatars.githubusercontent.com/u/41943773?v=4)](https://github.com/suman98 "suman98 (5 commits)")

---

Tags

apilaraveldebuginternal APItester

### Embed Badge

![Health badge](/badges/suman98-laravel-api-debug-with-user/health.svg)

```
[![Health](https://phpackages.com/badges/suman98-laravel-api-debug-with-user/health.svg)](https://phpackages.com/packages/suman98-laravel-api-debug-with-user)
```

###  Alternatives

[asvae/laravel-api-tester

Api tester for Laravel Framework

355119.5k](/packages/asvae-laravel-api-tester)

PHPackages © 2026

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