Download the PHP package maptechnica/mtapi without Composer

On this page you can find all versions of the php package maptechnica/mtapi. 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 mtapi

MapTechnicaAPI

Note:

Please note the MapTechnica API system is now in Beta. If you would like to participate in the Beta program, you may sign up here:

https://www.maptechnica.com/beta-signup

If you wish to be notified when the API is formally launched, sign up to this list:

http://eepurl.com/b0y8Mn

(We promise not to spam you.)

Overview

mtapi is a composer package that lets you easily access the MapTechnica API from your Laravel application. The MapTechnica API ("MT API") lets you retrieve GIS boundary, meta, and centroid data for the following geotypes:

You can see this data in action and learn more about the MapTechnica API on MapTechnica.com.

Note:

Free use of this package is covered under the MIT license. However, to access the MT API, you will need to obtain a license key which is subject to its own use restrictions and fees. Visit the Developers seciton of MapTechnica.com for more information.

Obtain a MapTechnica API Key (BETA)

The API system is currently in Beta. If you would like to participate in the Beta program, please fill out the request form here:

https://www.maptechnica.com/beta-signup

While you're there, go ahead and register for an account:

https://my.maptechnica.com/register

If you are selected to participate in the Beta program, you will be contacted with API key information.

Package Installation

In a terminal, require the package from the root directory of your Laravel project:

Laravel 5.x:

After updating composer, add the ServiceProvider to the providers array in config/app.php:

Add an alias to config/app.php:

Next, move the config file into the config directory. From your project's root directory, type:

Now you have a choice. You can either directly alter the values in your config\mtapi.php file as follows:

From:

To:

Or, if you're in an environment that requires different keys based on your server location, leave config\mtapi.php as-is and open your .env file and add the following variable instead

Post-Installation

Once Composer has done its thing, and assuming your Laravel app is up and running, open...

...in your browser. You should see a links page.

Check Your Installation

Click the "Check Installation" button to insure your variables are set correctly and the API is responding to your requests.

Learning the API

Click the "API Documentation" button to view a Swagger playground and documentation for the API.

Getting Help

There are several resources available to you if you run into trouble:

Links

Project Home: https://github.com/maptechnica/mtapi

Git Repository: https://github.com/maptechnica/mtapi

API Documentation (Swagger): https://dev.maptechnica.com/apidocs/

The MapTechnica API makes it possible to access MapTechnica's boundary data directly into your mapping application.

This package is designed to work with Laravel 5+ or as a standalone package in your own composer-based project.


All versions of mtapi with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.10
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 maptechnica/mtapi contains the following files

Loading the files please wait ....