Download the PHP package ashleighsims/get-address-wrapper without Composer

On this page you can find all versions of the php package ashleighsims/get-address-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package get-address-wrapper

Get Address IO Wrapper

A simple wrapper for the GetAddress IO service. Allowing the retrieval of address information from the provided post code. as well as other services.

Installation

Before you can start using GetAddress IO you will need to register for an API key. There is a free API key that you can use for 30 days before moving onto a paid plan.

You can get an API key and find out more information here: https://getaddress.io/

Via Composer

Laravel

If you're using this package in Laravel auto discovery has been enabled so you should be able to hit the ground running (when using Laravel 5.5 and beyond)

if you aren't using Laravel 5.5 and above you will need to manually register some bits...

Register the provider in the app.php file:

Optionally register the Facade:

Please ensure you've added the below environment variables to your .env file before starting.

Environment Variables

Add the following environment variables to your .env file.

Usage

Laravel

Dependency Injection Via Controller

Facade

General Usage

Find

List of addresses from postcode

Return: Array of AshleighSims\GetAddressWrapper\Response\Address Objects

Address from postcode and building number

Return: Object AshleighSims\GetAddressWrapper\Response\Address

Distance

Return: Object AshleighSims\GetAddressWrapper\Response\Distance

Autocomplete - Postcodes

Return: Object AshleighSims\GetAddressWrapper\Response\GooglePlacesPostcodePrediction

Autocomplete - Places

Places

Return: Array of AshleighSims\GetAddressWrapper\Response\GooglePlacesPrediction Objects

Place Details

Return: Object AshleighSims\GetAddressWrapper\Response\GooglePlace

Usage

Current day

Return: Object AshleighSims\GetAddressWrapper\Response\Usage

Given date

Return: Object AshleighSims\GetAddressWrapper\Response\Usage

Date range

Return: Array of AshleighSims\GetAddressWrapper\Response\DailyUsage Objects

Private Address List

Add address

Return: JSON decoded associative array

Delete address

Return: JSON decoded associative array

Get address

Return: Object AshleighSims\GetAddressWrapper\Response\PrivateAddress

List addresses

Return: Array of AshleighSims\GetAddressWrapper\Response\PrivateAddress Objects

Change log

Please see the changelog for more information on what has changed recently.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

license. Please see the license file for more information.


All versions of get-address-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.8 || ^8.0
ext-json Version *
guzzlehttp/guzzle Version ^7.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ashleighsims/get-address-wrapper contains the following files

Loading the files please wait ....