Download the PHP package sagautam5/local-states-nepal without Composer

On this page you can find all versions of the php package sagautam5/local-states-nepal. 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 local-states-nepal

Local States Nepal

This will help to get data about local states in Nepal based on recent administrative division

Image Source: Wikipedia(Administrative divisions of Nepal)

Build Issues Stars License Forks Twitter

Description

Local States Nepal is the php composer package to get structured dataset about local states in Nepal.

Local States Nepal requires

PHP >= 7.0

Version v1.0.8 has been tested on following php versions.

Demo

You can view Province -> District -> Municipality -> Wards in following demo.

How to set up demo ?

You can find all source code for demo inside demo directory. You can clone this repository in your server and then visit following url:

local_server_url/local-states-nepal/demo/

Example: http://127.0.0.1/local-states-nepal/demo

Demo Video:

https://www.loom.com/share/a8c3d825a9ee41a9817b24645453e979

Additionally, you can setup with Docker and visit localstates.test to view the demo. Here is guideline for setting up with Docker.

Local setup with Docker

Support

Currently, This library supports following two languages.

Installation

Configuration

Currently, No mandatory configuration is required for using this package. We have used english as the default language and if you want nepali you have to specify the language while using this package.

About Dataset

All data are collected from wikipedia and various Nepal government sites. We have data set in Nepali and English format for following four entities.

  1. Province
  2. District
  3. Municipality
  4. Category
  5. Nested Data Set

You can see more details about data in the link provided in above list.

Basic Usage

After installation, you can use features like this:

NOTE: Default language is 'en' and if you want 'np' then you have to specify language while creating class object.

You can see more detail documentation of each entity in the links provided in following list.

  1. Provinces
  2. Districts
  3. Municipality
  4. Category

Security

If you discover a security vulnerability within this package, please send an e-mail to [email protected], All security vulnerabilities will be promptly addressed.

🤝 Contributing

Please see CONTRIBUTING for details.

📄 License

The MIT License (MIT). Please see License File for more information.


All versions of local-states-nepal with dependencies

PHP Build Version
Package Version
Requires php Version >=8.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 sagautam5/local-states-nepal contains the following files

Loading the files please wait ....