Skip to content

Online collection data harvesting middleware for museums.

Notifications You must be signed in to change notification settings

IMAmuseum/harvester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Harvester Package

###Composer Setup

    "require": {
        "imamuseum/harvester": "^2.0"
    },

Service Provider

In config/app.php add to the autoloaded providers -

Imamuseum\Harvester\HarvesterServiceProvider::class,

Add ExampleHarvester to app/Providers/AppServiceProvider.php to implement the HarvesterInterface.

    public function register()
    {
        $this->app->bind('Imamuseum\Harvester\Contracts\HarvesterInterface',
            'Imamuseum\Harvester\ExampleHarvester');
    }

Now you can publish the package -

php artisan vendor:publish

Run Migrations -

php artisan migrate

Run an initial sync with fake data -

php artisan harvest:collection --initial

Push items off the queue -

php artisan queue:listen

Artisan Commands

php artisan harvest:collection
php artisan harvest:object
php artisan harvest:maintain

Use the --help flag after any command to view the available options with a description.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

Online collection data harvesting middleware for museums.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages