PHP code example of movemoveapp / dadata2

1. Go to this page and download the library: Download movemoveapp/dadata2 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

movemoveapp / dadata2 example snippets

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

DADATA_KEY=your_dadata_api_key_here
DADATA_SECRET_KEY=your_dadata_secret_key_here
shell
php artisan vendor:publish --tag=dadata-config