cr4sec / atom-vpn
Package for working with the Atom VPN API
1.1.4
2022-01-16 15:30 UTC
Requires
- php: ^7.3
- illuminate/console: ^8.0
- illuminate/database: ^6.0|^7.0|^8.0
- illuminate/http: ^8.0
- illuminate/routing: ^8.0
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.5
README
What It Does
This package allows you to manage Atom VPN sessions.
Once installed you can do stuff like this:
/** Search for the first free Atom VPN account */ Account::findFirstFreeAccount(); /** Create a new Atom VPN account */ $atomVpn->createAccount(['uuid' => 'my-uuid']); /** Get expired user sessions */ $user->sessions()->expired(); /** Start a new session */ $session->start();
$ php artisan atom-vpn:clearing-unused-sessions $ php artisan atom-vpn:create-vpn-account $ php artisan atom-vpn:disable-vpn-account
Installation
$ composer require cr4sec/atom-vpn
Publishing config
$ php artisan vendor:publish --provider="Cr4sec\AtomVPN\AtomVPNServiceProvider"