kfoobar/laravel-restful 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kfoobar/laravel-restful

最新稳定版本:v1.0.2

Composer 安装命令:

composer create-project kfoobar/laravel-restful

包简介

Boilerplate for Restful API in Laravel

README 文档

README

Boilerplate for RESTful API applications built with Laravel 8/9/10.

This package provides a minimal and simple starting point for building a RESTful API application. Among other things, the package allows you to easily manage user and API tokens, logs requests and provides uniformed and standardized RESTful responses.

This package will add these features:

  • Artisan commands to create and delete users
  • Artisan commands to generate, extend and revoke API token (with Sanctum)
  • Database migration and model for request logging
  • Group middleware for automatic request logging
  • Middleware for route specific request logging
  • Adds a ping endpoint (/api/v1/ping)
  • Adds a profile endpoint (/api/v1/me)
  • Adds a fallback for all non-existing endpoints
  • Removes default frontend files
  • Adds robots.txt to disallow everything

Installation

Install the package with Composer:

composer require kfoobar/laravel-restful

Add all necessary files with this command:

php artisan restful:install

Please notice!

This package is meant to be installed on a fresh Laravel project since it will overwrite a few default files.

Instructions

Coming soon...

Contributing

Contributions are welcome!

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固