PHPackages                             mm28ajos/php-reolink-camera-api - 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. mm28ajos/php-reolink-camera-api

ActiveLibrary[API Development](/categories/api)

mm28ajos/php-reolink-camera-api
===============================

A minimal PHP API for Reolink cameras.

1.0.2(6y ago)4272MITPHPPHP &gt;=5.4.0

Since Nov 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mm28ajos/PHPReolinkCameraAPI)[ Packagist](https://packagist.org/packages/mm28ajos/php-reolink-camera-api)[ Docs](https://github.com/mm28ajos/PHPReolinkCameraAPI)[ RSS](/packages/mm28ajos-php-reolink-camera-api/feed)WikiDiscussions master Synced today

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

Reolink IP camera API client class
----------------------------------

[](#reolink-ip-camera-api-client-class)

A PHP class which provides access to Reolink's IP cameras.

This class can be installed manually or using composer/[packagist](https://packagist.org/packages/mm28ajos/php-reolink-camera-api) for easy inclusion in your projects.

Requirements
------------

[](#requirements)

- a Reolink camera (tested with RLC-420-5MP, Build No. build 19061408, Hardware No. IPC\_51516M5M, Configuration Version v2.0.0.0, Firmware Version v2.0.0.448\_19061408)
- a web server with PHP installed (tested with PHP cli Version 7.3.11-1~deb10u1)
- network connectivity between this web server and the camera and port (normally TCP port 80)

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

[](#installation)

You can use [Composer](#composer), [Git](#git) or simply [Download the Release](#download-the-release) to install the API client class.

### Composer

[](#composer)

The preferred method is via [composer](https://getcomposer.org). Follow the [installation instructions](https://getcomposer.org/doc/00-intro.md) if you do not already have composer installed.

Once composer is installed, simply execute this command from the shell in your project directory:

```
composer require mm28ajos/php-reolink-camera-api
```

Or you can manually add the package to your composer.json file:

```
{
    "require": {
        "mm28ajos/php-reolink-camera-api": "^1.0"
    }
}
```

Finally, be sure to include the autoloader in your code:

```
require_once('vendor/autoload.php');
```

### Git

[](#git)

Execute the following `git` command from the shell in your project directory:

```
git clone https://github.com/mm28ajos/PHPReolinkCameraAPI.git
```

When git is done cloning, include the file containing the class like so in your code:

```
require_once('path/to/src/Client.php');
```

### Download the Release

[](#download-the-release)

If you prefer not to use composer or git, you can simply [download the package](https://github.com/mm28ajos/PHPReolinkCameraAPI/archive/master.zip), uncompress the zip file, then include the file containing the class in your code like so:

```
require_once('path/to/src/Client.php');
```

Example usage
-------------

[](#example-usage)

A basic example how to use the class:

```
/**
 * load the class using the composer autoloader
 */
require_once('vendor/autoload.php');

/**
 * initialize the Reolink API connection class, log in to the controller and request disable the motion detection e-mail alert
 * (this example assumes you have already assigned the correct values to the variables used)
 */
$reolink_connection = new \Reolink_API\Client($user, $password, $camera_ip);
$login            = $reolink_connection->login();
if ($login)
{
  $results          = $reolink_connection->toggleMotionEmail(false); // returns a PHP boolean to signale the success/failure of toggeling the motion e-mail alert
  $logout            = $reolink_connection->$logout();
}
```

Please refer to the `examples/` directory for some more detailed examples which you can use as a starting point for your own PHP code.

### API Requests Implementation:

[](#api-requests-implementation)

GET:

- Login
- Logout
- Display -&gt; OSD
- Recording -&gt; Encode (Clear and Fluent Stream)
- Recording -&gt; Advance (Scheduling)
- Network -&gt; General
- Network -&gt; Advanced
- Network -&gt; DDNS
- Network -&gt; NTP
- Network -&gt; E-mail
- Network -&gt; FTP
- Network -&gt; Push
- Network -&gt; WIFI
- Alarm -&gt; Motion
- System -&gt; General
- System -&gt; DST
- System -&gt; Information
- System -&gt; Maintenance
- System -&gt; Performance
- System -&gt; Reboot
- User -&gt; Online User
- User -&gt; Add User
- User -&gt; Manage User
- Device -&gt; HDD/SD Card
- Zoom
- Focus
- Image (Brightness, Contrass, Saturation, Hue, Sharp, Mirror, Rotate)
- Near Infrared Light
- Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, 3D-NR)
- Image Data -&gt; "Snap" Frame from Video Stream

SET:

- Display -&gt; OSD
- Recording -&gt; Encode (Clear and Fluent Stream)
- Recording -&gt; Advance (Scheduling)
- Network -&gt; General
- Network -&gt; Advanced
- Network -&gt; DDNS
- Network -&gt; NTP
- Network -&gt; E-mail
- Network -&gt; FTP
- Network -&gt; Push
- Network -&gt; WIFI
- Alarm -&gt; Motion
- System -&gt; General
- System -&gt; DST
- System -&gt; Reboot
- User -&gt; Online User
- User -&gt; Add User
- User -&gt; Manage User
- Device -&gt; HDD/SD Card
- Zoom
- Focus
- Image (Brightness, Contrass, Saturation, Hue, Sharp, Mirror, Rotate)
- Near Infrared Light
- Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, 3D-NR)

Contribute
----------

[](#contribute)

If you would like to contribute code (improvements), please open an issue and include your code there or else create a pull request.

Credits
-------

[](#credits)

This class is based on the initial work by the following developer:

- klin34970:

The Readme is based on:

-
-

Important Note
--------------

[](#important-note)

All of the functions in this API client class are not officially supported by Reolink and as such, may not be supported in future versions of the Reolink cameras.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Every ~25 days

Total

3

Last Release

2325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/842938c80f9132b0f124355b8c5e8db023877596888ca98e561e637476e4ec63?d=identicon)[mm28ajos](/maintainers/mm28ajos)

---

Top Contributors

[![mm28ajos](https://avatars.githubusercontent.com/u/24397978?v=4)](https://github.com/mm28ajos "mm28ajos (1 commits)")

---

Tags

apiclientIPcameraReolink

### Embed Badge

![Health badge](/badges/mm28ajos-php-reolink-camera-api/health.svg)

```
[![Health](https://phpackages.com/badges/mm28ajos-php-reolink-camera-api/health.svg)](https://phpackages.com/packages/mm28ajos-php-reolink-camera-api)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[crowdin/crowdin-api-client

PHP client library for Crowdin API v2

611.5M5](/packages/crowdin-crowdin-api-client)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[ok/ipstack-client

A PHP wrapper for using Ipstack API

10384.3k](/packages/ok-ipstack-client)[markrogoyski/numverify-api-client-php

Numverify API Client for PHP

1220.9k](/packages/markrogoyski-numverify-api-client-php)

PHPackages © 2026

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