PHPackages                             onenet/laravel - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. onenet/laravel

ActiveLibrary[HTTP &amp; Networking](/categories/http)

onenet/laravel
==============

This package can be used to connect to onenet

0.0.7(4y ago)120MITPHPPHP &gt;=8.0

Since Mar 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hamzaaslam-cs/laravel-onenet-sdk)[ Packagist](https://packagist.org/packages/onenet/laravel)[ RSS](/packages/onenet-laravel/feed)WikiDiscussions main Synced 1mo ago

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

laravel-onenet-sdk
==================

[](#laravel-onenet-sdk)

> Note: The Cache in laravel will be used to determine duplicate data. Please try to configue the cache as nosql (redis,etc.)

Onenet for laravel is a laravel library for OneNet platform data reception

install
-------

[](#install)

1. Insatll the package

> Please read the OneNet development documentation before use

```
  composer require "hazmaaslam-cs/laravel-onenet-sdk:1.1.0"\
```

configure
---------

[](#configure)

1. manually register 'ServiceProvider'

```
  Onenet\Laravel\OneNetServiceProvider::class,
```

2. Create a configuratioin file:

```
  php artisan vendor:publish --provider="Onenet\Laravel\OneNetServiceProvider"
```

3. (optional) Edit config/onenet.php file or write the following in the .env file

```
  OnetNet_Token=Token
  OnetNet_EncodingAESKey=Message encryption and decryption key
  OneNet_APIKey=Key in device operation

4. Add the appearance to the 'alaises' in 'confit/app.php' (laravel 5.5+ doesn't need to be added manually)

```php
  'OneNet'=>Onenet\Laravel\Facades\OneNet::class,
```

Receive platform data from
--------------------------

[](#receive-platform-data-from)

Lraravel csrf issues
--------------------

[](#lraravel-csrf-issues)

1. Exclude api routing in CSRF middleware 2 .Turn off CSRF middleware (not recommended)

The following is an example of receiving push data from the OneNet platform:

> If your domain name app.devis , please log in to the "Third Party Open Platform" of the OneNet platform and modify the "URL (please fill in the server configuration)" as: .

routing:

```
Route::any('\onenet','OneNetController@onenet');

> Note: It must be Route::any, because when the OneNet platform is certified, it is when the GETplatform message is pushed.POST

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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 ~0 days

Total

7

Last Release

1515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/da8bb9f6777384d5d28600dae424ba3d7d324513074b4edc744943c75178b604?d=identicon)[hamzaaslam36](/maintainers/hamzaaslam36)

---

Top Contributors

[![hamzaaslam-cs](https://avatars.githubusercontent.com/u/56721502?v=4)](https://github.com/hamzaaslam-cs "hamzaaslam-cs (13 commits)")

### Embed Badge

![Health badge](/badges/onenet-laravel/health.svg)

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

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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