Download the PHP package felipeva/api-colombia-php without Composer

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


Api Colombia PHP is a PHP API client that lets you easily interact with the Api Colombia.

Table of Contents

Getting started

Requires PHP 8.2+

Installation

First, install the package via the Composer package manager:

Then, you're ready to start using the package:

Usage

Country Resource

get

Retrieves general information about Colombia.

Region Resource

all

Retrieves all regions in Colombia.

get

Retrieves a region by its id.

departments

Retrieves all departments in a region.

Department Resource

all

Retrieves all departments in Colombia.

get

Retrieves a department by its id.

cities

Retrieves all cities in a department.

naturalAreas

Retrieves all natural areas in a department.

touristAttractions

Retrieves all tourist attractions in a department.

getByName

Retrieves a department by its name.

search

Searches for departments by the following fields: Name, Description, PhonePrefix.

paged

Retrieves a paged list of departments.

City Resource

all

Retrieves all cities in Colombia.

get

Retrieves a city by its id.

getByName

Retrieves a city by its name.

search

Searches for cities by the following fields: Name, Description, PostalCode.

paged

Retrieves a paged list of cities.

President Resource

all

Retrieves all presidents in Colombia.

get

Retrieves a president by its id.

getByName

Retrieves a president by its name.

getByYear

Retrieves a president by its year.

To be implemented..

search

Searches for presidents by the following fields: Name, Description, PoliticalParty,LastName

paged

Retrieves a paged list of presidents.

Tourist Attraction Resource

all

Retrieves all touristic attractions in Colombia.

get

Retrieves a touristic attraction by its id.

getByName

Retrieves a touristic attraction by its name.

search

Searches for touristic attractions by the following fields: Name, Description,LastName,Latitude, Longitude

paged

Retrieves a paged list of touristic attractions.

Category Natural Area Resource

all

Retrieves all categories of natural areas in Colombia.

get

Retrieves a category of natural areas by its id.

naturalAreas

Retrieves all natural areas of a category by its id.

Natural Area Resource

all

Retrieves all natural areas in Colombia.

get

Retrieves a natural area by its id.

getByName

Retrieves a natural area by its name.

search

Searches for natural areas by the following fields: Name, Description,LastName,Latitude, Longitude

paged

Retrieves a paged list of natural areas.

Map Resource

all

Retrieves all maps in Colombia.

get

Retrieves a map by its id.


All versions of api-colombia-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2.0
sammyjo20/saloon Version ^2.0
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 felipeva/api-colombia-php contains the following files

Loading the files please wait ...