定制 contributte/api-router-skeleton 二次开发

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

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

contributte/api-router-skeleton

Composer 安装命令:

composer create-project contributte/api-router-skeleton

包简介

Nette project example for contributte/api-router library by @f3l1x and @paveljanda

README 文档

README

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte

Goal

Main goal is to provide skeleton for contributte/api-router library.

Focused on:

  • latest PHP 8
  • nette/* packages

Demo

https://examples.contributte.org/api-router-skeleton/

Installation

You will need PHP 8.4+ and Composer.

To install latest version of contributte/api-router-skeleton use Composer.

composer create-project -s dev contributte/api-router-skeleton acme

Start PHP development server via make dev.

And take a look at:

Get Started

  • Using contributte/api-router for routing
  • Implementing IPresenter in endpoints (App\Controllers\LoginController) instead of extending UI\Presenter
  • Extending ApiResponse from Nette JsonResponse, just to make it more simple to add more custom headers and so on
  • LoginController and ErrorController is using ApiResponseFormatter for formatting succes message, payload data or and exception

Development

See how to contribute to this package.

This package is currently maintained by these authors.

Consider to support contributte development team. Also thank you for using this package.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固