为app提供API接口的php框架推荐
想用一个php框架单独为app提供API接口,所以不想要一个太大而全的框架,如ci,thinkPHP,laravel,有好用的路由,orm,运行效率高即可,大家推荐下吧,谢谢
回复内容:
想用一个php框架单独为app提供API接口,所以不想要一个太大而全的框架,如ci,thinkPHP,laravel,有好用的路由,orm,运行效率高即可,大家推荐下吧,谢谢
我推荐slim或者flight
Lumen + Dingo/api + apidocjs
推荐使用lumen+ dingo/API;
不过用lumen其实很需要有Laravel基础;
你要想拆分了用组件倒还不如专心学一个框架,教程和资料也多也快些。
当然,具体还是看你有哪些积累吧,从自己已经掌握的出发会好一些。可以把问题和情况都说详细些,大家可以给出更好的参考,加油!
用过CI 如果不考虑Restful的话 还是不错的选择 文档很全面 上手也很简单
上面说的lumen也不错 小而轻 专门为了数据交互而设计的

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Validator can be created by adding the following two lines in the controller.

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.
