stevelacey/laravel-browsable-api

Browsable API for Laravel, based on Django REST Framework's Browsable API
20,196 7
Install
composer require stevelacey/laravel-browsable-api
Latest Version:1.2.0
PHP:>=8.2
Laravel:12 · 13
Older releases:4 – 9
License:MIT
Last Updated:Aug 27, 2026
Links: GitHub  ·  Packagist
Maintainer: stevelacey

Laravel Browsable API

Packagist Version CI Coverage Downloads License: MIT

Laravel Browsable API is a package for serving human-friendly HTML output when using a browser, based on Django REST Framework's Browsable API

Screenshot

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

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"

Related Packages

luracast/restler

Restler is a simple and effective multi-format Web API Server framework written...

588,825 1,386
qbnk/restler

Fork of luracast/restler with own additions.

3,988
b3nl/laravel-rest-scaffolding

Generates basic routes and requests for REST APIs.

27 1
ucha19871/fb

Firebase REST API easy wrapper for Laravel

575 5
oxid-community/oxid-rest-api

REST API for OXID eShop based on Laravel Lumen Framework.

94 4

Version History

Version Released PHP Laravel License
1.2.0 >=8.2 >=12.0 MIT
1.1.0 >=7.4 >=7.0 MIT
1.0.8 >=7.0 * MIT
1.0.7 >=7.0 * MIT
1.0.6 >=7.0 MIT