Skip to content

Laravel address verification, this package used for physical address verification with google.

Notifications You must be signed in to change notification settings

manoj30808/address-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Address Validation in Laravel

This package used for physical address verification  with google.

    1) composer require sonlabs/address-varification
    2) Add below line in your provider at (config\app.php) 
        'providers' => [
            ---------
            Sonlabs\AddressValid\AddressValidServiceProvider::class,
            ---------
        ],
    3) please add below line at (resources\lang\en\validation.php)
        'validation.check_address' => 'The :attribute must be validate.',
    
    You done, now please use with below sysntax
        In validation rules use login "check_address"

        $rules = [
            'name'     => 'required',
            'address' => 'required|check_address',
        ];