https://github.com/turahe/master-data
https://github.com/turahe/master-data
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/turahe/master-data
- Owner: turahe
- License: mit
- Created: 2020-10-03T07:09:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T00:23:00.000Z (8 months ago)
- Last Synced: 2024-11-06T01:21:53.110Z (7 months ago)
- Language: PHP
- Size: 80.4 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](//packagist.org/packages/turahe/master-data)
[](//packagist.org/packages/turahe/master-data)
[](//packagist.org/packages/turahe/master-data)
[](https://scrutinizer-ci.com/g/turahe/master-data/?branch=master)
[](https://travis-ci.org/turahe/master-data)
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fturahe%2Fmaster-data?ref=badge_shield)
[](https://github.styleci.io/repos/300819171?branch=master)
Instalasi
## Instalasi
### Install Package Via Composer
```
composer require turahe/master-data
```In Laravel 5.5 and higher versions, the service provider will automatically get registered. In older versions of the framework just add the service provider in `config/app.php` file:
```php
'providers' => [
// ...
Turahe\Master\MasterServiceProvider::class,
//...
];
```You must publish [the migration](https://github.com/turahe/master-data/tree/master/database/migrations) with:
```bash
php artisan vendor:publish --provider="Turahe\Master\MasterServiceProvider" --tag=assets
```After the migration has been published you can create the tables by running the migrations:
```bash
php artisan migrate
```### What does it gives you?
This package has all sorts of information about all:
| info | items |
------------------|-------:|
| currencies | 256 |
| countries | 266 |
| timezones | 423 |
| flags | 1,570 |
| states | 4,526 |
| cities | 7,376 |
| timezones times | 81,153 |