承接 valpuia/mizokhua 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

valpuia/mizokhua

最新稳定版本:1.1.0

Composer 安装命令:

composer require valpuia/mizokhua

包简介

List of districts and villages in Mizoram

README 文档

README

Latest Version on Packagist Total Downloads

Awlsam tak a Mizoram chhung a district leh khua te neih na (Easy way to get lists of district and village in Mizoram)

Installation

You can install the package via composer:

composer require valpuia/mizokhua

php artisan mizokhua:install

mizokhua:install hmang hian migration files a in published nghal a chuan run nghal turin a rawn zawt ang che (After running mizokhua:install it published migration files and ask you to run the migration)

Seeder

php artisan mizokhua:seed

mizokhua:seed hmang hian districts leh villages te database ah a in dahlut anga, awlsam takin i application ah a hnuai ami ang hian i hmang thei ang (Using mizokhua:seed command it seeds districts and villages in database and you can easily use like below)

Usage

use Valpuia\Mizokhua\Models\District;
use Valpuia\Mizokhua\Models\Village;

Village::with('district')
    // ->where('district_id', 1)
    // ->where('name', 'Aibawk')
    ->get();

District::with('villages')
    // ->where('name', 'Aizawl')
    ->get();

TODO

  • Publish Seeders
  • Publish Models

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-24