fractas / silverstripe-seeder-unsplash-provider
An Unsplash image provider for SilverStripe Seeder module
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- littlegiant/silverstripe-seeder: ^2.0
- silverstripe/cms: ~3.1
- silverstripe/framework: ~3.1
This package is auto-updated.
Last update: 2024-10-29 05:05:01 UTC
README
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