# magento-getaddress-autocomplete

GetAddress.io real-time address autocomplete integration for Magento 2. Provides instant UK address search and autofill during checkout using the getAddress.io API.

## Features

- Real-time postcode lookup and address search
- Address autofill for all checkout address fields
- Reduces checkout form friction for UK customers
- Configurable API key via Magento admin

## Requirements

- Magento 2.x
- PHP 8.0+
- getAddress.io API key ([getaddress.io](https://getaddress.io))

## Installation

```bash
composer require portalpeople/magento-getaddress-autocomplete
bin/magento module:enable PortalPeople_GetAddressAutocomplete
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. In Magento admin, go to **Stores → Configuration → Portal People → Address Autocomplete**
2. Enter your getAddress.io API key
3. Save and clear cache

## Related Modules

- [`magento-addresslookup`](../magento-addresslookup) — Legacy address lookup (deprecated)
- [`ngauge-idealpostcode`](../ngauge-idealpostcode) — Alternative postcode lookup

## Support

[support@portalpeople.uk](mailto:support@portalpeople.uk)
