承接 ahrasel/laravel-bangladesh-geo 相关项目开发

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

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

ahrasel/laravel-bangladesh-geo

Composer 安装命令:

composer require ahrasel/laravel-bangladesh-geo

包简介

A library for handling Bangladesh geographical locations in Laravel.

README 文档

README

A Laravel package for managing geo-locations in Bangladesh, including a predefined list of divisions, districts, upazilas and unions.

Author

Installation

You can install the package via Composer. Run the following command in your Laravel project:

composer require ahrasel/bangladesh-geo

Service Provider

If you're using Laravel 5.4 or lower, you need to register the service provider. Add the following line to the providers array in config/app.php:

Ahrasel\BangladeshGeo\BangladeshGeoServiceProvider::class,

Migration

The package includes a migration for the all table. To run the migration, use the following Artisan command:

php artisan migrate

Seeder

You can seed the all table with predefined data by running the following command:

php artisan db:seed --class=Ahrasel\\BangladeshGeo\\Database\\Seeders\\DistrictsSeeder

Usage

You can interact with the District model as follows:

use Ahrasel\BangladeshGeo\Models\District;
$district = District::create(['name' => 'New District']);

License

This package is licensed under the MIT License. See the LICENSE file for more information.

Acknowledgements

  • Laravel - The PHP framework that powers this package.
  • Packagist - For hosting our package.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固