onenet/laravel is a Laravel package for this package can be used to connect to onenet.
It currently has 1 GitHub stars and 20 downloads on Packagist (latest version 0.0.7).
Install it with composer require onenet/laravel.
Discover more Laravel packages by onenet
or browse all Laravel packages to compare alternatives.
Last updated
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
Please read the OneNet development documentation before use
composer require "hazmaaslam-cs/laravel-onenet-sdk:1.1.0"\
Onenet\Laravel\OneNetServiceProvider::class,
php artisan vendor:publish --provider="Onenet\Laravel\OneNetServiceProvider"
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,
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: http://app.dev/onenet.
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