frosinas/unsplash

Sdk for making unsplash calls

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/frosinas/unsplash

1.1.1 2019-09-05 20:36 UTC

README

Run

composer require frosinas/unsplash to install the package

Run

php artisan vendor:publish --tag=Frosinas\Unsplash\UnsplashProvider to publish the provider settings

add following variables to your config

UNSPLASH_CLIENT_ID=your client UNSPLASH_CLIENT_SECRET=your secret UNSPLASH_REDIRECT_URL=http://localhost:8000/api/unsplash/authorization (this should be added to Redirect URI inside your Unsplash app, or the prefix should be your virtual host for the app) UNSPLASH_API_URL=https://unsplash.com/