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
This is a SilverStripe Seeder Unsplash provider which grabs "random" beautiful photos from Unsplash API.
Note: this branch is under-development
- SilverStripe Framework 4+
- SilverStripe Seeder
- 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
Bugs are tracked on github.com