fractaslabs/silverstripe-seeder-unsplash-provider

This package is abandoned and no longer maintained. The author suggests using the fractas/silverstripe-seeder-unsplash-provider package instead.

An Unsplash image provider for SilverStripe Seeder module

1.0 2017-10-10 20:24 UTC

This package is auto-updated.

Last update: 2022-02-01 13:10:51 UTC


README

Latest Stable Version Latest Unstable Version Total Downloads License

Overview

This is a SilverStripe Seeder Unsplash provider which grabs "random" beautiful photos from Unsplash API.

Note: this branch is under-development

Requirements

  • SilverStripe Framework 4+
  • SilverStripe Seeder

Installation

  • Install via Composer
composer require fractas/seeder-unsplash-provider
  • Add to your configuration: mysite/_config/seeder.yml
---
Name: seeder-config
---
Seeder\Seeder:
  create:
    Page:
      count: 100
        fields:
          Image: 'unsplashimage(1024,768)'
  • Run dev/build?flush=1
  • Change to project root and run
(unix)      $ framework/sake seed flush=1
(windows)   > php framework/cli-script.php seed flush=1

Bugtracker

Bugs are tracked on github.com

Licence

See Licence