Download the PHP package yueyifei/geobase without Composer

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

地理位置库

安装指南以及使用

composer require yueyifei/geobase
use GeoBase\GeoBaseInfo
(new GeoBaseInfo())->getAllNation()

精确查询

**
1、根据国家ID查询国家以及下属省份详细信息
2、根据国家名称查询国家以及下属省份详细信息
3、根据国家标准码查询国家以及下属省份详细信息(国家标准码如:中国--CN)
4、根据省份ID查询省份以及下属城市详细信息
5、根据省份名称查询省份以及下属城市详细信息(省份名为全称如'山东省')
6、根据省份标准码查询省份以及下属城市详细信息
7、根据城市ID查询城市以及下属区详细信息
8、根据城市名称查询城市以及下属区详细信息(城市名为全称如'石家庄市')
9、根据城市标准码查询城市以及下属区详细信息
10、根据区ID查询区以及所有街道详细信息
11、根据区名查询区以及所有街道详细信息
12、根据区标准码查询区以及所有街道详细信息
13、根据街道ID查询街道详细信息
14、根据街道名称查询所有街道详细信息
**

全部查询

**
1、查询所有国家信息(附带下属省份ID集合)
2、查询所有省份信息(附带下属城市ID集合)
3、查询所有城市信息(附带下属区ID集合)
4、查询所有区信息(附带下属街道ID集合)
5、查询所有街道信息
**



All versions of geobase with dependencies

PHP Build Version
Package Version
No informations.
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 yueyifei/geobase contains the following files

Loading the files please wait ....