定制 aimedidierm/ahantu 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

aimedidierm/ahantu

最新稳定版本:v1.0.0

Composer 安装命令:

composer require aimedidierm/ahantu

包简介

A Laravel package to help developers to seed Rwanda locations data (province, district, sector, cell, village) in Laravel application.

README 文档

README

A Laravel package to help developers seed Rwanda locations data (province, district, sector, cell, village) in Laravel applications.

🚀 Installation

Install this package as a dependency using Composer.

composer require --dev aimedidierm/ahantu

🛠️ Usage

Step 1: Publish the Configuration

After installing the package, you can publish the configuration file to customize it according to your needs.

php artisan vendor:publish --provider="Ahantu\Locations\LocationsServiceProvider"

Step 2: Run the Artisan Command

To create models, migrations, and seeders for the locations, run the following Artisan command:

php artisan ahantu:install

This command will generate the necessary files and directories:

  • Models: Province, District, Sector, Cell, Village
  • Migrations: for creating the corresponding tables
  • Seeders: for populating the tables with Rwanda location data

Step 3: Run the Migrations and Seeders

After generating the files, run the migrations and seeders to create and populate the tables in your database.

php artisan migrate
php artisan db:seed --class=LocationsSeeder

Contributing

Contributions are welcome!

📜 License

The aimedidierm/ahantu package is free and unencumbered software released into the public domain. Please see the MIT LICENSE for more information.

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固