PHPackages                             stevelacey/laravel-browsable-api - 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. [Framework](/categories/framework)
4. /
5. stevelacey/laravel-browsable-api

ActiveLibrary[Framework](/categories/framework)

stevelacey/laravel-browsable-api
================================

Browsable API for Laravel, based on Django REST Framework's Browsable API

1.1.0(3y ago)718.9k↑16.7%MITPHPPHP &gt;=7.4

Since May 21Pushed 3y agoCompare

[ Source](https://github.com/stevelacey/laravel-browsable-api)[ Packagist](https://packagist.org/packages/stevelacey/laravel-browsable-api)[ RSS](/packages/stevelacey-laravel-browsable-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

Laravel Browsable API
=====================

[](#laravel-browsable-api)

[![Packagist License](https://camo.githubusercontent.com/b386c318371f1f298230a248f22bf2528a4e6d579197ba1c559bdc33484ccb0a/68747470733a2f2f706f7365722e707567782e6f72672f73746576656c616365792f6c61726176656c2d62726f777361626c652d6170692f6c6963656e73652e706e67)](http://choosealicense.com/licenses/mit/)[![Latest Stable Version](https://camo.githubusercontent.com/6be55160035cd3ab07503804fd6eea106b76b2820fb21f49e89e287b4a73a1b2/68747470733a2f2f706f7365722e707567782e6f72672f73746576656c616365792f6c61726176656c2d62726f777361626c652d6170692f76657273696f6e2e706e67)](https://packagist.org/packages/stevelacey/laravel-browsable-api)[![Total Downloads](https://camo.githubusercontent.com/d31c5587511d6cea44339d82a728951acca2a2b5256432988b7ed33925f76b2a/68747470733a2f2f706f7365722e707567782e6f72672f73746576656c616365792f6c61726176656c2d62726f777361626c652d6170692f642f746f74616c2e706e67)](https://packagist.org/packages/stevelacey/laravel-browsable-api)

Laravel Browsable API is a package for serving human-friendly HTML output when using a browser, based on [Django REST Framework's Browsable API](http://www.django-rest-framework.org/topics/browsable-api/)

[![Screenshot](https://user-images.githubusercontent.com/289531/40294880-ed9e43c6-5d09-11e8-840c-a4d10d895a87.png)](https://user-images.githubusercontent.com/289531/40294880-ed9e43c6-5d09-11e8-840c-a4d10d895a87.png)

The package prepends a middleware to the `api` router group that wraps responses with a basic Bootstrap 4 based HTML template, and linkifies any URLs found

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

[](#installation)

```
composer require stevelacey/laravel-browsable-api
```

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

```
SteveLacey\LaravelBrowsableApi\ServiceProvider::class,
```

Copy the package config and view into your project with the publish command:

```
php artisan vendor:publish --provider="SteveLacey\LaravelBrowsableApi\ServiceProvider"
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~355 days

Total

10

Last Release

1436d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0

1.1.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/289531?v=4)[Steve Lacey](/maintainers/stevelacey)[@stevelacey](https://github.com/stevelacey)

---

Top Contributors

[![stevelacey](https://avatars.githubusercontent.com/u/289531?v=4)](https://github.com/stevelacey "stevelacey (19 commits)")

---

Tags

apiframeworklaravelrestbrowsabledrf

### Embed Badge

![Health badge](/badges/stevelacey-laravel-browsable-api/health.svg)

```
[![Health](https://phpackages.com/badges/stevelacey-laravel-browsable-api/health.svg)](https://phpackages.com/packages/stevelacey-laravel-browsable-api)
```

###  Alternatives

[lanin/laravel-api-debugger

Easily debug your JSON API.

2311.8M](/packages/lanin-laravel-api-debugger)[lanin/laravel-api-exceptions

All in one solution for exception for JSON REST APIs on Laravel and Lumen.

40102.4k](/packages/lanin-laravel-api-exceptions)

PHPackages © 2026

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