Skip to content

yashveersingh/rport-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPort Helper For Laravel

Latest Version on Packagist

Total Downloads

What It Does

This package allows you to sync devices from RPort and save it in database.

Installation:

composer require yashveersingh/rport-php

After installing package run:

php artisan rport:install

This will generate rport.php file in config directory.

<?php
return [
    'url' => env('rport_url', ''),
    'username' => env('rport_username', ''),
    'token' => env('rport_token', ''),
];

You need to override url username token

Note: You need to have cron setup every minute.

php artisan schedule:run

or

Manually run these command in order to fetch api key and devices

php artisan rport:sync

If u need to sync immediately, You can run this command manually.

Testing

composer test

Security

If you discover any security-related issues, please email yashveersingh444444@gmail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages