stevelacey/laravel-browsable-api
Browsable API for Laravel, based on Django REST Framework's Browsable API
19,984
7
| Install | |
|---|---|
composer require stevelacey/laravel-browsable-api |
|
| Latest Version: | 1.2.0 |
| PHP: | >=8.2 |
| License: | MIT |
| Last Updated: | Aug 27, 2026 |
| Links: | GitHub · Packagist |
Maintainer: 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

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
tempest-tools/tempest-tools-skeleton
A fork of: mitchdav/laravel-versioned-api. This fork is designed by a one stop s...
5
1