定制 stevelacey/laravel-browsable-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

stevelacey/laravel-browsable-api

最新稳定版本:1.1.0

Composer 安装命令:

composer require stevelacey/laravel-browsable-api

包简介

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

README 文档

README

Packagist License Latest Stable Version Total Downloads

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"

统计信息

  • 总下载量: 18.32k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-21