Download the PHP package sxqibo/fast-area without Composer

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

fastArea 极速地区模块儿

用于thinkphp的area初始化最新的地区库,方便使用

一:安装说明

composer require sxqibo/fast-area

备注:

  1. 安装后会自动把database目录下的文件复制到项目对应的database目录下
  2. 执行php think migrate:run 生成数据表
  3. 执行 php think seed:run -s InitAreaSeeder 生成地区相关初始数据

二:数据来源 @vant/area-data

具体地址如下:

https://github.com/youzan/vant/blob/main/packages/vant-area-data/src/index.ts

说明:这个库是基于 @vant/area-data 这个库的,只是把数据格式化一下而已,方便我们使用。

因为这个库经常在更新,因此我们会定时更新这个库,保证数据是最新的。

三:thinkphp配置说明

  1. composer.json 增加

  2. 增加 extend/Plugin.php 文件 可以参考 https://github.com/sxqibo/saas-system-thinkphp.git 中的 extend/Plugin.php 文件

All versions of fast-area with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
topthink/framework Version >=0.0.0
topthink/think-migration Version ^3.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 sxqibo/fast-area contains the following files

Loading the files please wait ....