amyisme13 / ultra-helper
A personal package for undisclosed usage :)
2.2.1
2020-08-28 05:48 UTC
Requires
- php: ^7.2.5
- guzzlehttp/guzzle: ^6.3.1
- illuminate/support: ^7.0
Requires (Dev)
- orchestra/canvas: ^5.4
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5
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.