PHPackages                             zartosht/pixabey - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zartosht/pixabey

AbandonedArchivedLibrary[API Development](/categories/api)

zartosht/pixabey
================

Laravel Package for interacting with pixabey REST api

v0.5(7y ago)015PHPPHP ^7.2

Since Oct 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zartosht/pixabey)[ Packagist](https://packagist.org/packages/zartosht/pixabey)[ RSS](/packages/zartosht-pixabey/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

zartosht/pixabey
================

[](#zartoshtpixabey)

Custom PHP Pixabey library for the Laravel 5.\* framework - developed by [Zartosht](http://zartoshtsepideman.com).

The package provides an easy interface for sending interacting with [Pixabey](https://pixabey.com) REST API requests from your Laravel web application.

> Note before posting an issue: When posting an issue for the package, always be sure to provide as much information regarding the request as possible. This includes the example cURL request you are trying to transfer into the package syntax, your actual package syntax (the full request) and (if possible) an example URL I can use to test the request myself if need be.

Installation
------------

[](#installation)

Pull this package in through Composer.

```
    {
        "require": {
            "zartosht/pixabey": "*"
        }
    }
```

or run in terminal: `composer require zartosht/pixabey`

### Laravel 5.5+ Integration

[](#laravel-55-integration)

Laravel's package discovery will take care of integration for you.

### Laravel 5.\* Integration

[](#laravel-5-integration)

Add the service provider to your `config/app.php` file:

```
    'providers'     => [

        //...
        Zartosht\Pixabey\PixabeyServiceProvider::class,

    ],
```

Add the facade to your `config/app.php` file:

```
    'aliases'       => [

        //...
        'Pixabey'          => Zartosht\Pixabey\Facades\Pixabey::class,

    ],
```

### Laravel 4.\* Integration

[](#laravel-4-integration)

Add the service provider to your `app/config/app.php` file:

```
    'providers'     => [

        //...
        'Zartosht\Pixabey\PixabeyServiceProvider',

    ],
```

Add the facade to your `app/config/app.php` file:

```
    'facades'       => [

        //...
        'Pixabey'          => 'Zartosht\Pixabey\Facades\Pixabey',

    ],
```

### Lumen 5.\* integration

[](#lumen-5-integration)

In your `bootstrap/app.php`, make sure you've un-commented the following line (around line 26):

```
$app->withFacades();

```

Then, register your class alias:

```
class_alias('Zartosht\Pixabey\Facades\Pixabey', 'Pixabey');

```

Finally, you have to register your ServiceProvider (around line 70-80):

```
/*
|--------------------------------------------------------------------------
| Register Service Providers
|--------------------------------------------------------------------------
|
| Here we will register all of the application's service providers which
| are used to bind services into the container. Service providers are
| totally optional, so you are not required to uncomment this line.
|
*/

// $app->register('App\Providers\AppServiceProvider');

// Package service providers
$app->register(Zartosht\Pixabey\PixabeyServiceProvider::class);

```

Usage
-----

[](#usage)

The package provides an easy interface for interactine with [Pixabey](https://pixabey.com) REST API for getting images, videos, etc. first you have to sign up in their website, for doing so, [click here](https://pixabay.com/en/accounts/register/), and form bottom of [this page](https://pixabay.com/api/docs/) you can provide a description for your app and usually they will contact you within 24 hours.

### Sending GET requests

[](#sending-get-requests)

In order to send a `GET` request, you need to use the `get()` method that is provided by the package:

```
    use Ixudra\Curl\Facades\Curl;

    // Get Fashion Images that are safe
    \Zartosht\Pixabey\Facades\Pixabey::Search()->Fashions()->SafeSearch()->get()

    // Get Animal images page 2 by 100 per page pagination
    \Zartosht\Pixabey\Facades\Pixabey::Search()->Animals()->PerPage(100)->get()
```

### Using Pixabey options

[](#using-pixabey-options)

Contact
-------

[](#contact)

For any other questions, feel free to use the credentials listed below:

Zartosht Sepideman (developer)

- Email:

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2754d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6488633?v=4)[Zartosht Sepideman](/maintainers/zartosht)[@zartosht](https://github.com/zartosht)

---

Top Contributors

[![zartosht](https://avatars.githubusercontent.com/u/6488633?v=4)](https://github.com/zartosht "zartosht (6 commits)")

### Embed Badge

![Health badge](/badges/zartosht-pixabey/health.svg)

```
[![Health](https://phpackages.com/badges/zartosht-pixabey/health.svg)](https://phpackages.com/packages/zartosht-pixabey)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
