Download the PHP package api-clients/resource-generator without Composer
On this page you can find all versions of the php package api-clients/resource-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download api-clients/resource-generator
More information about api-clients/resource-generator
Files in api-clients/resource-generator
Package resource-generator
Short Description Resource from YAML generation tool
License MIT
Informations about the package resource-generator
API Client Foundation for PHP 7
Goals
- Tool for easy wireframing of resources for
wyrihaximus/api-client
based API clients
Installation
To install via Composer, use the command below, it will automatically detect the latest version and bind it with ^
.
Usage
Pas a definition
YAML
file.
For example:
YAML
The YAML
format allows for quick and easy generation of resources, empty resources, and resource tests. The spec consists out of two or more files.
resource.yaml
First there is the resource.yml
file with the meta data regarding all resources:
yaml/project.yaml
The following YAML
is an example resource file:
License
The MIT License (MIT)
Copyright (c) 2016 Cees-Jan Kiewiet
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of resource-generator with dependencies
api-clients/foundation Version ^1.0
api-clients/hydrator Version ^1.0
api-clients/resource Version ^3.0
api-clients/resource-test-utilities Version ^1.0
doctrine/inflector Version ^1.1
friendsofphp/php-cs-fixer Version ^2.3
nikic/php-parser Version ^3.0 || ^2.1
symfony/yaml Version ^2.8||^3.0