perfectin/webservice
Composer 安装命令:
composer require perfectin/webservice
包简介
TYPO3 Flow package for creating webservices
README 文档
README
is a TYPO3.Flow package to create webservices for existing code
Create webservice configuration where you define the methods that needs to be delivered as webservices
- Supports REST and SOAP
Example webservice configurations
Find all TYPO3\Flow\Security\Role with REST
webservices.yaml:
-
name: Roles
operations:
-
name: findAll
bindings:
-
type: rest
options:
url: webservice/security/role
method: GET
implementation:
class: TYPO3\Flow\Security\Policy\RoleRepository
method: findAll
Find one TYPO3\Flow\Security\Roles with REST
Note that the variable {identifier} in the url is automatically mapped to the $identifier parameter in the
findByIdentifiermethod
webservices.yaml:
-
name: read
bindings:
-
type: rest
options:
url: webservice/security/role/{identifier}
method: GET
implementation:
class: TYPO3\Flow\Security\Policy\RoleRepository
method: findByIdentifier
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2014-04-29