2017 © Pedro Peláez
 

library laravel-datasets

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

image

bluora/laravel-datasets

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

  • Thursday, January 5, 2017
  • by bluora
  • Repository
  • 1 Watchers
  • 2 Stars
  • 16 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

``` ___ _ _ / \ __ _ | |_ __ _ ___ ___ | |_ ___ / /\ // || __|/ _ |/ | / _ | __|/ __| / ///| (| || || (| |__ | __/| |_ __ \ /,' __,| _|__,||/ _| __||___/, (*1)


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://poser.pugx.org/hnhdigital-os/laravel-datasets/v/stable.svg)](https://packagist.org/packages/hnhdigital-os/laravel-datasets) [![Total Downloads](https://poser.pugx.org/hnhdigital-os/laravel-datasets/downloads.svg)](https://packagist.org/packages/hnhdigital-os/laravel-datasets) [![Latest Unstable Version](https://poser.pugx.org/hnhdigital-os/laravel-datasets/v/unstable.svg)](https://packagist.org/packages/hnhdigital-os/laravel-datasets) [![Built for Laravel](https://img.shields.io/badge/Built_for-Laravel-green.svg)](https://laravel.com/) [![License](https://poser.pugx.org/hnhdigital-os/laravel-datasets/license.svg)](https://packagist.org/packages/hnhdigital-os/laravel-datasets) [![Build Status](https://travis-ci.org/hnhdigital-os/laravel-datasets.svg?branch=master)](https://travis-ci.org/hnhdigital-os/laravel-datasets) [![StyleCI](https://styleci.io/repos/77605381/shield?branch=master)](https://styleci.io/repos/77605381) [![Test Coverage](https://codeclimate.com/github/hnhdigital-os/laravel-datasets/badges/coverage.svg)](https://codeclimate.com/github/hnhdigital-os/laravel-datasets/coverage) [![Issue Count](https://codeclimate.com/github/hnhdigital-os/laravel-datasets/badges/issue_count.svg)](https://codeclimate.com/github/hnhdigital-os/laravel-datasets) [![Code Climate](https://codeclimate.com/github/hnhdigital-os/laravel-datasets/badges/gpa.svg)](https://codeclimate.com/github/hnhdigital-os/laravel-datasets) This package has been developed by H&H|Digital, an Australian botique developer. Visit us at [hnh.digital](http://hnh.digital). ## 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: ```php 'providers' => [ ... HnhDigital\Datasets\ServiceProvider::class, ... ];

Available datasets

DATA.OKFN Collection (hnhdigital-os/laravel-datasets-okfn)

NOTE: This collection is included by default when you install this package., (*2)

  • Country Codes
  • Country Population
  • Country Population (current)
  • Language Codes

Australia Collection (hnhdigital-os/laravel-datasets-australia)

  • Banks
  • BSB
  • Postcodes

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

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

Usage

List

$ php artisan datasets:list, (*5)

Lists all the available dataset collections available to be installed., (*6)

Install

$ php artisan datasets:install {dataset}, (*7)

Installs the specified dataset. This will create the table in the database and do an initial sync of the data., (*8)

Migrate

$ php artisan datasets:migrate {dataset}, (*9)

Setup the table in the database. This will create the migration file in the right spot and add to the migrations table., (*10)

Use this console command when scheduling dataset update., (*11)

Sync

$ php artisan datasets:sync {dataset}, (*12)

Downloads the data and insert/updates the existing records., (*13)

Contributing

Please see CONTRIBUTING for details., (*14)

Credits

License

The MIT License (MIT). Please see License File for more information., (*15)

The Versions

05/01 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel datasets

31/12 2016

v1.1

1.1.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel datasets

30/12 2016

v1.0.2

1.0.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel datasets

30/12 2016

dev-develop

dev-develop

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel datasets

30/12 2016

v1.0.1

1.0.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel datasets

30/12 2016

v1.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel datasets