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
Requires
- guzzlehttp/guzzle: ^6.3
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/