Download the PHP package php-openapi/yii2-fractal without Composer
On this page you can find all versions of the php package php-openapi/yii2-fractal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download php-openapi/yii2-fractal
More information about php-openapi/yii2-fractal
Files in php-openapi/yii2-fractal
Download php-openapi/yii2-fractal
More information about php-openapi/yii2-fractal
Files in php-openapi/yii2-fractal
Vendor php-openapi
Package yii2-fractal
Short Description Json-api spec implementation with league/fractal
License MIT
Package yii2-fractal
Short Description Json-api spec implementation with league/fractal
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-fractal
yii2-fractal Beta
The set of utils and actions for prepare Rest API accordingly JSON:API https://jsonapi.org/format/ With https://fractal.thephpleague.com
Installation
composer require php-openapi/yii2-fractal
Usage
-
Add class
insolita\fractal\JsonApiBootstrap
to the 'bootstrap' section of api application config (or update application config manually with same changes as inJsonApiBootstrap
class ) see tests/testapp/config/api.php. - Create your controller classes by extending
JsonApiController
orJsonApiActiveController
which contains predefined CRUD actions. See examples at tests/testapp/controllers.
Contributing / Local Development / Testing
See CONTRIBUTING.md file
License
See LICENSE file
All versions of yii2-fractal with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
ext-json Version *
league/fractal Version ^0.19.2
yiisoft/yii2 Version ~2.0.15
ext-json Version *
league/fractal Version ^0.19.2
yiisoft/yii2 Version ~2.0.15
The package php-openapi/yii2-fractal contains the following files
Loading the files please wait ....