PHPackages                             appkr/api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. appkr/api

ActiveLibrary[API Development](/categories/api)

appkr/api
=========

RESTful HTTP API dev tool for Laravel or Lumen based project

v3.0.4(5y ago)3115.0k6MITPHPCI failing

Since Jan 4Pushed 5y ago3 watchersCompare

[ Source](https://github.com/appkr/api)[ Packagist](https://packagist.org/packages/appkr/api)[ RSS](/packages/appkr-api/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (28)Used By (0)

RESTful HTTP API component for Laravel or Lumen based project
=============================================================

[](#restful-http-api-component-for-laravel-or-lumen-based-project)

[![Latest Stable Version](https://camo.githubusercontent.com/a2d629220f0f1d1a8e891910dfc3647f9c4a03c5662e694b8b16158ba726ece7/68747470733a2f2f706f7365722e707567782e6f72672f6170706b722f6170692f762f737461626c65)](https://packagist.org/packages/appkr/api)[![Total Downloads](https://camo.githubusercontent.com/e4131ab35d49d24e0086c8c8cc1461c0d9064d54004a31951e51fe2e91b543a6/68747470733a2f2f706f7365722e707567782e6f72672f6170706b722f6170692f646f776e6c6f616473)](https://packagist.org/packages/appkr/api)[![Latest Unstable Version](https://camo.githubusercontent.com/37fe50054c52a40b513e435aabd50d143864f0ca70e9d11dd8610b63384722a0/68747470733a2f2f706f7365722e707567782e6f72672f6170706b722f6170692f762f756e737461626c65)](https://packagist.org/packages/appkr/api)[![License](https://camo.githubusercontent.com/5525213a0bc4afebd7d3b53ef70b004754615e4abd30b181496881697750dba0/68747470733a2f2f706f7365722e707567782e6f72672f6170706b722f6170692f6c6963656e7365)](https://packagist.org/packages/appkr/api)

**[한국어 매뉴얼](readme_ko.md)**

INDEX
-----

[](#index)

- [1. ABOUT](#about)
- [2. FEATURE](#goal)
- [3. LARAVEL/LUMEN IMPLEMENTATION EXAMPLE](#example)
- [4. HOW TO INSTALL](#install)
- [5. CONFIG](#config)
- [6. TRANSFORMER](#transformer)
- [7. NESTING SUB-RESOURCE](#nesting)
- [8. APIs](#method)
- [9. BUNDLED EXAMPLE](#example)
- 10. LICENSE &amp; CONTRIBUTION
- 11. CHANGELOG

---

1. ABOUT
--------

[](#1-about)

A lightweight RESTful API builder for Laravel or/and Lumen project.

2. FEATURE
----------

[](#2-feature)

1. Provides Laravel/Lumen Service Provider for the `league/fractal`.
2. Provides configuration capability for the library.
3. Provides easy way of making transformed/serialized API response.
4. Provides `make:transformer` artisan command.
5. Provides examples, so that users can quickly copy &amp; paste into his/her project.

3. LARAVEL/LUMEN IMPLEMENTATION EXAMPLE(How to use)
---------------------------------------------------

[](#3-laravellumen-implementation-examplehow-to-use)

### 3.1. API Endpoint

[](#31-api-endpoint)

Define RESTful resource route in Laravel way.

```
