承接 kfoobar/laravel-restful 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱: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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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