承接 druidvav/api-service-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

druidvav/api-service-bundle

最新稳定版本:v3.4.1

Composer 安装命令:

composer require druidvav/api-service-bundle

包简介

README 文档

README

Installation

Step 1: Download DvApiServiceBundle using composer

Require the druidvav/api-service-bundle with composer Composer.

$ composer require druidvav/api-service-bundle

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
            new Druidvav\ApiServiceBundle\DvApiServiceBundle(),
        // ...
    );
}

Step 3: Configure the DvApiServiceBundle

# app/config/config.yml

dv_api_service:
    logger: "@monolog.logger.api"

Step 4: Define your api service files

# src/AppBundle/Resources/config/services.yml

services:
    _defaults:
        autowire: true      # Automatically injects dependencies in your services.
        autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.

    AppBundle\ApiService\:
        resource: '../../ApiService/*'
        tags: [ "jsonrpc.api-service" ]

统计信息

  • 总下载量: 4.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-15