承接 lexik/modelo-bundle 相关项目开发

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

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

lexik/modelo-bundle

最新稳定版本:v1.0.2

Composer 安装命令:

composer require lexik/modelo-bundle

包简介

This bundle aim to provides an http client that performs and handle requests to modelo Api.

README 文档

README

Latest Stable Version PHP Version Require

ModeloBundle

This Symfony bundle provides a service that performs and handle http requests to modelo API

Modelo

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

$ composer require choosit/modelo-bundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require choosit/modelo-bundle

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Choosit\ModeloBundle\ModeloBundle::class => ['all' => true],
];

Configuration

It can be configured as follows:

#config/packages/choosit_modelo.yml

choosit_modelo:
 modelo_base_uri: '%env(MODELO_BASE_URL)%' # Base url of modelo API 
 auth:
   modelo_agency_code: 'my agency code' # Agency code can be find on your modelo account
   modelo_private_key: 'my private key' # Private key can be find on your modelo account

ModeloHttpClient service

This bundle provides the Choosit\ModeloBundle\Service\ModeloHttpClientInterface service that can be injected anywhere.

use Choosit\ModeloBundle\Service\ModeloClientInterface;
class MyService
{
    public function __construct(ModeloClientInterface $modeloHttpClient) 
    {
    
    }
}

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固