mundocrm/leads-sender 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mundocrm/leads-sender

Composer 安装命令:

composer create-project mundocrm/leads-sender

包简介

Vendor to send leads forms to mundocrm.ar.

README 文档

README

Latest Version license: MIT

Description

This package provide the methos to compile a form data and send to api.mundocrm.ar.

What is included?

  • Sender interface:
    • With this can generete you lead sender.
    • Send function to insert on your source the lead.
    • Validate and return response success or error.

Installation and configuration

Install via Composer

We recommend installing this package with Composer.

  1. Download Composer

To download Composer, run in the root directory of your project:

curl -sS https://getcomposer.org/installer | php

You should now have the file composer.phar in your project directory.

  1. Install Dependencies

Run in your project root:

php composer.phar require mundocrm/leads-sender

You should now have the files composer.json and composer.lock as well as the directory vendor in your project directory. If you use a version control system, composer.json should be added to it.

Require Autoloader

After installing the dependencies, you need to require the Composer autoloader from your code:

require 'vendor/autoload.php';

How can you use it

  1. Create a new Sender:
 $leads = new Sender($app_key, $source_id, $data, $items, $debug); 
  1. Instance send function:
$response = $leads->send();
  1. Process the response as you preferer:
// Example to simple return
echo json_encode($response);

// Example to Laravel response:
return response()->json($response, $response->status_code);

License

MuundoCRM and vendors are made available under the MIT License (MIT). Please see License File information.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固