movemoveapp/dadata2 问题修复 & 功能扩展

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

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

movemoveapp/dadata2

最新稳定版本:2.0.3

Composer 安装命令:

composer require movemoveapp/dadata2

包简介

A Laravel SDK for interacting with the DaData API, providing seamless integration for address validation, data enrichment, and other data processing features.

README 文档

README

DaData2 is an SDK designed to facilitate easy interaction with the DaData API, allowing seamless integration of DaData functionalities within your Laravel applications. This package supports address and company data management for Russia, Belarus, and Kazakhstan.

Features

  • Easy integration with the DaData API.
  • Support for handling addresses and company data across Russia, Belarus, and Kazakhstan.
  • Compatible with Laravel 10 and 11, PHP version 8.

Installation

Installation

Install the package via Composer:

composer require movemoveapp/dadata2

Register the Service Provider

After installing the package, you need to register the DaData2 service provider. Add the following line to the providers array in your config/app.php file:

...
'providers' => [
    ...
    MoveMoveApp\DaData2\DaDataServiceProvider::class,
    
    ...
],

Publish the Configuration

After installation, publish the configuration file to set up the package with Laravel:

php artisan vendor:publish --tag=dadata-config

Configuration

Once the configuration file is published, you can set up your DaData credentials in your .env file. Obtain your API key and secret key from the DaData dashboard and set them as follows:

...

DADATA_KEY=your_dadata_api_key_here
DADATA_SECRET_KEY=your_dadata_secret_key_here

These keys will allow your application to authenticate requests to the DaData API.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固