virhi/lazy-rest-api-ui-bundle

在 Rest Hal APi 上生成 UI

安装: 4

依赖: 0

建议者: 0

安全性: 0

星星: 1

关注者: 1

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2015-03-29 20:20 UTC

This package is not auto-updated.

Last update: 2020-01-10 15:28:40 UTC


README

#LazyRestApiUiBundle

LazyRestApiBundle 的用户界面

##安装

编辑您的 composer.json

"require": {
    "virhi/lazy-rest-api-ui-bundle" : "master"
}

并运行 Composer

php composer.phar update virhi/lazy-rest-api-ui-bundle

在您的 AppKernel.php 中启用此包

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Virhi\LazyRestApiBundle\VirhiLazyRestApiUiBundle(),
    );
}

编辑您的配置

virhi_lazy_rest_api_ui:
    api_url: http://hostname/