PHPackages                             zf-metal/restful - 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. zf-metal/restful

ActiveLibrary[API Development](/categories/api)

zf-metal/restful
================

Doctrine restful for Zend Framework 3

1.4.2(5y ago)11742MITPHPPHP ^5.6 || 7.1.\*CI failing

Since Jun 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zf-metal/restful)[ Packagist](https://packagist.org/packages/zf-metal/restful)[ Docs](https://github.com/cincarnato)[ RSS](/packages/zf-metal-restful/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (17)Versions (23)Used By (2)

ZfMetal\\Restful
================

[](#zfmetalrestful)

Dependencies
------------

[](#dependencies)

- "doctrine/doctrine-orm-module"
- "zf-metal/commons"
- "zf-metal/log"
- "zendframework/zend-mvc"
- "zendframework/zend-json"

Default Routes
--------------

[](#default-routes)

#### Action: Get 1 item

[](#action-get-1-item)

- Method: GET
- URL: /zfmr/api/entityalias/:id

#### Action: Get list

[](#action-get-list)

- Method: GET
- URL: /zfmr/api/entityalias

#### Action: Create Item

[](#action-create-item)

- Method: POST
- URL: /zfmr/api/entityalias
- Params: Entity Fields &amp; Values

#### Action: Update Item

[](#action-update-item)

- Method: PUT
- URL: /zfmr/api/entityalias/:id
- Params: Entity Fields &amp; Values

#### Action: Delete Item

[](#action-delete-item)

- Method: DELETE
- URL: /zfmr/api/entityalias/:id

Custom Routes
-------------

[](#custom-routes)

You can create your own restful routes and invoke \\ZfMetal\\Restful\\Controller\\MainController

```
