pjmil / laravel-pixabay
Laravel facade for accessing the Pixabay API
Installs: 90
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/pjmil/laravel-pixabay
Requires
- php: ^7.2
- laravel/framework: ^6.0
Requires (Dev)
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2025-10-10 18:42:36 UTC
README
composer require pjmil/laravel-pixabay
Go to pixabay.com, register an account and get your API key
Add PIXABAY_API_KEY=<your_api_key> to .env
$images = Pixabay::image([
'q' => 'animals+dancing',
'min_width' => 600,
'min_height' => 600,
'type' => 'photo',
]);
$videos = Pixabay::video([
'q' => 'animals+dancing',
]);
Refer to Pixabay's API docs for query options.