PHPackages                             hnhdigital-os/laravel-datasets - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. hnhdigital-os/laravel-datasets

ActiveLibrary[CLI &amp; Console](/categories/cli)

hnhdigital-os/laravel-datasets
==============================

Provides console commands, models and migration scripts to syncronize datasets.

v1.2.1(8y ago)41044MITPHPPHP &gt;=5.6.0

Since Dec 30Pushed 8y agoCompare

[ Source](https://github.com/hnhdigital-os/laravel-datasets)[ Packagist](https://packagist.org/packages/hnhdigital-os/laravel-datasets)[ RSS](/packages/hnhdigital-os-laravel-datasets/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (8)Versions (13)Used By (4)

```
   ___        _                     _
  /   \ __ _ | |_  __ _  ___   ___ | |_  ___
 / /\ // _` || __|/ _` |/ __| / _ \| __|/ __|
/ /_//| (_| || |_| (_| |\__ \|  __/| |_ \__ \
/___,'  \__,_| \__|\__,_||___/ \___| \__||___/

```

Provides console commands, models and migration scripts to syncronize datasets into your applications database. Datasets are defined by array based configuration whilst advanced manipulation or data retrieval can be done through inline closures.

[![Latest Stable Version](https://camo.githubusercontent.com/98f1cc80397f01568cfd7ee59d115347dd9f3396fbe6b164230fb4082a3eae40/68747470733a2f2f706f7365722e707567782e6f72672f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732f762f737461626c652e737667)](https://packagist.org/packages/hnhdigital-os/laravel-datasets) [![Total Downloads](https://camo.githubusercontent.com/aff01f9c0f28b80f760a9a1dccedc041eeefc8f39baae767cdf40743b70c5ab4/68747470733a2f2f706f7365722e707567782e6f72672f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732f646f776e6c6f6164732e737667)](https://packagist.org/packages/hnhdigital-os/laravel-datasets) [![Latest Unstable Version](https://camo.githubusercontent.com/f1db3831449342f76bdff2341de758d69a88fb221c18ac24d1a25dce41fff233/68747470733a2f2f706f7365722e707567782e6f72672f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732f762f756e737461626c652e737667)](https://packagist.org/packages/hnhdigital-os/laravel-datasets) [![Built for Laravel](https://camo.githubusercontent.com/ddd4a07bb769306a9338cffde2032c289e4d43d43ac346122709465a47cdff3f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c745f666f722d4c61726176656c2d677265656e2e737667)](https://laravel.com/) [![License](https://camo.githubusercontent.com/a172da76f1d02e401e67b6508e5c946c15675fdb05413801017054f75dee9a2f/68747470733a2f2f706f7365722e707567782e6f72672f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732f6c6963656e73652e737667)](https://packagist.org/packages/hnhdigital-os/laravel-datasets)

[![Build Status](https://camo.githubusercontent.com/b9e4aae25c7bf0917b8bb5cd8456002c1a2b5102f0ea10ba5330b169bdaf8dbf/68747470733a2f2f7472617669732d63692e6f72672f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hnhdigital-os/laravel-datasets) [![StyleCI](https://camo.githubusercontent.com/9abb90ec0d1de83e80401634e41611e64f3771b8345b1e6b954c3744285c024c/68747470733a2f2f7374796c6563692e696f2f7265706f732f37373630353338312f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/77605381) [![Test Coverage](https://camo.githubusercontent.com/9d653f7083d2fc213c639e1a448611b4dbbaccf66953c3130ef568fcd204e08d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/hnhdigital-os/laravel-datasets/coverage) [![Issue Count](https://camo.githubusercontent.com/10d9b9c10c5a9b6549e17ea45f938985662152d08ed694c381382683848f6d5b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/hnhdigital-os/laravel-datasets) [![Code Climate](https://camo.githubusercontent.com/20cd2974bd5bca274d32c8627d3a6a1823ff226c452e8b7765ffccda468b6ec9/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f686e686469676974616c2d6f732f6c61726176656c2d64617461736574732f6261646765732f6770612e737667)](https://codeclimate.com/github/hnhdigital-os/laravel-datasets)

This package has been developed by H&amp;H|Digital, an Australian botique developer. Visit us at [hnh.digital](http://hnh.digital).

Install
-------

[](#install)

Via composer:

`$ composer require hnhdigital-os/laravel-datasets ~1.0`

This package's service provider will autoload from Laravel 5.5.

To enable the service provider in versions prior to Laravel 5.4, edit the config/app.php:

```
    'providers' => [
        ...
        HnhDigital\Datasets\ServiceProvider::class,
        ...
    ];
```

### Available datasets

[](#available-datasets)

#### [DATA.OKFN Collection](https://github.com/hnhdigital-os/laravel-datasets-okfn) (hnhdigital-os/laravel-datasets-okfn)

[](#dataokfn-collection-hnhdigital-oslaravel-datasets-okfn)

NOTE: This collection is included by default when you install this package.

- Country Codes
- Country Population
- Country Population (current)
- Language Codes

#### [Australia Collection](https://github.com/hnhdigital-os/laravel-datasets-australia) (hnhdigital-os/laravel-datasets-australia)

[](#australia-collection-hnhdigital-oslaravel-datasets-australia)

- Banks
- BSB
- Postcodes

Need a dataset? Request it, Pull Request it, or build it. Use the DATA.OKFN as a template.

If you do setup your own collection, please let us know so that we can put it on the official list.

Usage
-----

[](#usage)

### List

[](#list)

`$ php artisan datasets:list`

Lists all the available dataset collections available to be installed.

### Install

[](#install-1)

`$ php artisan datasets:install {dataset}`

Installs the specified dataset. This will create the table in the database and do an initial sync of the data.

### Migrate

[](#migrate)

`$ php artisan datasets:migrate {dataset}`

Setup the table in the database. This will create the migration file in the right spot and add to the migrations table.

Use this console command when scheduling dataset update.

### Sync

[](#sync)

`$ php artisan datasets:sync {dataset}`

Downloads the data and insert/updates the existing records.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/hnhdigital-os/laravel-datasets/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Rocco Howard](https://github.com/RoccoHoward)
- [All Contributors](https://github.com/hnhdigital-os/laravel-datasets/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/hnhdigital-os/laravel-datasets/blob/master/LICENSE) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~4 days

Total

11

Last Release

3044d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5270e3a3d1add4e39f12dfde3ce549999a26f759d7128056083ab07f475259f2?d=identicon)[bluora](/maintainers/bluora)

---

Top Contributors

[![RoccoHoward](https://avatars.githubusercontent.com/u/227896?v=4)](https://github.com/RoccoHoward "RoccoHoward (125 commits)")

---

Tags

laraveldatasets

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hnhdigital-os-laravel-datasets/health.svg)

```
[![Health](https://phpackages.com/badges/hnhdigital-os-laravel-datasets/health.svg)](https://phpackages.com/packages/hnhdigital-os-laravel-datasets)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
