Skip to content

mdashraful305/bdlocation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel package for bd location.

How to install?

composer require shahadatzcpe/bdlocation

How to migrate?

php artisan migrate

How to import data using this pacakge?

php artisan import:bdlocation

Available model

Shahadatzcpe\BDLocation\Models\Division
Shahadatzcpe\BDLocation\Models\District
Shahadatzcpe\BDLocation\Models\Upazila
Shahadatzcpe\BDLocation\Models\PoliceStation
Shahadatzcpe\BDLocation\Models\Union

Relationship

Division
    districts      => 1 to n District
District
    policeStations => 1 to n PoliceStation
    upazilas       => 1 to n Upazila
    division       => belongs to Division
Upazila
    district       => belongs to District
    unions         => 1 to n Union
PoliceStation
    district       => belongs to District        

About

Laravel package for bd location.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%