amyisme13/ultra-helper

A personal package for undisclosed usage :)

2.2.1 2020-08-28 05:48 UTC

This package is auto-updated.

Last update: 2024-04-28 14:10:27 UTC


README

A personal package for undisclosed usage.

Installation

You can install the package via composer:

composer require amyisme13/ultra-helper

Run the migration

php artisan migrate

Configure these environment variable

  • ULTRA_URL
  • ULTRA_SIGNATURE_KEY
  • ULTRA_ENCRYPTION_KEY
  • ULTRA_ENCRYPTION_IV

Features

Users Sync (REMOVED ON v2.0)

Sync ultra_users table with the current Ultra users

php artisan ultra-helper:sync-users

Login

Login using username & password or using token. These methods will return user data object.

use Amyisme13\UltraHelper\UltraHelperFacade as UltraHelper;

$userData = UltraHelper::login('username', 'password');

$userData = UltraHelper::loginWithToken('encrypted-token');

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.