konekt/resource 问题修复 & 功能扩展

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

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

konekt/resource

Composer 安装命令:

composer require konekt/resource

包简介

API Resources library to transform entities/models into REST API objects. Inspired by Laravel - usable in any Framework

README 文档

README

Tests Packagist Stable Version Packagist downloads StyleCI MIT Software License

API Resources

When building an HTTP based API, you often need a transformation layer that sits between your models and the JSON (or XML, etc) responses that are actually returned to API consumers.

The API resource classes allow you to transform your models into HTTP Responses (JSON, XML, etc).

This project was inspired by the Laravel API Resources concept. The goal is to make this approach available in non-Laravel applications as well.

Installation

using composer: composer require konekt/resource

Documentation

For detailed usage and examples go to the Resource Documentation or refer to the markdown files in the docs/ folder of this repo.

For the list of changes read the Changelog.

Framework Integrations

Symfony

Phalcon

统计信息

  • 总下载量: 1.79k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-12