PHPackages                             muammarsiddiqui/apideck-laravel - 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. muammarsiddiqui/apideck-laravel

ActiveLibrary[API Development](/categories/api)

muammarsiddiqui/apideck-laravel
===============================

Lightweight, beautiful, zero-config API playground and explorer for Laravel APIs

v1.0.1(2mo ago)02MITJavaScriptPHP &gt;=8.0

Since May 26Pushed 2mo agoCompare

[ Source](https://github.com/MuammarSiddiqui/apideck-laravel)[ Packagist](https://packagist.org/packages/muammarsiddiqui/apideck-laravel)[ RSS](/packages/muammarsiddiqui-apideck-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

apideck-laravel
===============

[](#apideck-laravel)

Lightweight, beautiful, zero-config API playground and explorer for Laravel APIs.

ApiDeck automatically inspects your Laravel routes and controllers to generate a stunning UI allowing you to browse, test, and document your API without writing manual OpenAPI YAML files or docblocks.

Features
--------

[](#features)

- **Zero Config**: Just require the package and visit `/apideck`.
- **Dynamic Schema Reflection**: ApiDeck uses PHP Reflection to automatically read your type-hinted Controller parameters (DTOs, FormRequests) and generate JSON examples in the UI!
- **Modern UI**: Sleek, fully responsive, dark-mode ready interface.
- **Native Integration**: Seamlessly integrates with Laravel's internal router.

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

[](#installation)

Install the package via Composer:

```
composer require muammarsiddiqui/apideck-laravel
```

Because of Laravel's package auto-discovery, the service provider will be registered automatically!

Quick Start
-----------

[](#quick-start)

You don't need to do anything. Simply define your routes in `routes/api.php` or `routes/web.php`:

```
Route::prefix('api/v1')->group(function () {
    Route::get('users', [UserController::class, 'index']);
    Route::post('users', [UserController::class, 'store']);
});
```

Then open `http://localhost:8000/apideck` in your browser!

*(Note: ApiDeck automatically filters out routes that don't belong to your API to keep the interface clean).*

Advanced: Dynamic Schema Reflection (Auto-Example Generation)
-------------------------------------------------------------

[](#advanced-dynamic-schema-reflection-auto-example-generation)

ApiDeck features a powerful PHP Reflection engine. If you want ApiDeck to automatically generate **Example JSON** payloads and field schemas in the UI for your POST/PUT requests, all you have to do is strongly type-hint your controller methods or route closures!

### Using a DTO / Class

[](#using-a-dto--class)

If you type-hint a custom class, ApiDeck will read its public properties:

```
// Define your DTO class
class CreateUserDTO {
    public string $name;
    public string $email;
    public int $age;
    public bool $isActive;
}

// In your routes or controller:
Route::post('api/users', function (CreateUserDTO $payload) {
    return response()->json(['success' => true]);
});
```

### Using Form Requests

[](#using-form-requests)

If you type-hint a standard Laravel `FormRequest`, ApiDeck will try to instantiate it and parse its `rules()` array to map out the fields:

```
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;

class StoreUserRequest extends FormRequest {
    public function rules() {
        return [
            'name' => 'required|string',
            'email' => 'required|email'
        ];
    }
}

// In your controller
public function store(StoreUserRequest $request) {
    // ...
}
```

ApiDeck will automatically reflect on these injected parameters and display fully populated JSON example payloads in the interface!

Configuration (Optional)
------------------------

[](#configuration-optional)

If you need to change the base URL or other behavior, publish the config file:

```
php artisan vendor:publish --provider="ApiDeck\Laravel\ApiDeckServiceProvider"
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance88

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

60d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/87115874?v=4)[Muammar Siddiqui](/maintainers/MuammarSiddiqui)[@MuammarSiddiqui](https://github.com/MuammarSiddiqui)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/muammarsiddiqui-apideck-laravel/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77922.3M186](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k21](/packages/fleetbase-core-api)

PHPackages © 2026

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