RESTful API框架 Rester

码农软件 · 软件分类 · REST/RESTful项目 · 2019-03-11 07:11:22

软件介绍

Rester是一个基于Slim + Laravel Eloquent的RESTful API框架。它集合了Slim的简洁易用+Laravel Eloquent数据库模型的强大+Laravel Validation强大简洁的表单验证,让你编写API得心应手!

特点:

  • 基于Slim作为web核心,强大的路由与清晰的项目结构。

  • 多环境支持,轻松区别线上环境与开发环境,0切换成本。

  • 强大的ORM框架Eloquent

  • 强大的数据验证类Validation

控制器:

<?php

/**
 * 演示控制器
 */
class HomeController extends Controller
{
    public function index() {
        return $this->json(['app' => 'Rester', 'message' => 'Hello world!']);
    }

    //...
}

本文地址:https://codercto.com/soft/d/1086.html

Blog Design Solutions

Blog Design Solutions

Richard Rutter、Andy Budd、Simon Collison、Chris J Davis、Michael Heilemann、Phil Sherry、David Powers、John Oxton / friendsofED / 2006-2-16 / USD 39.99

Blogging has moved rapidly from being a craze to become a core feature of the Internetfrom individuals sharing their thoughts with the world via online diaries, through fans talking about their favori......一起来看看 《Blog Design Solutions》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具