nopost/alirezax5-xui-api

There is no license information available for the latest version (v0.0.1) of this package.

api for x-ui panel

v0.0.1 2023-08-16 11:57 UTC

This package is auto-updated.

Last update: 2024-05-16 14:06:16 UTC


README

This is an exercise project to increase coding skills and the user is responsible for using it.

About the project

It is a web service project to manage the x-ui panel

Features

  • Support for 90% of panels
  • Xray management by API
  • Show status
  • Change xray version
  • Inbound management
  • Settings management
  • User(admin) managementt.

Install

composer require nopost/alirezax5-xui-api

Panels

Use

<?php
require __DIR__ . '/vendor/autoload.php';
$xui = new \alirezax5\XuiApi\Panel\Vaxilu('YOU_PANEL_URL', 'YOU_PANEL_USERNAME', 'YOU_PANEL_PASSWORD');
#Set Up Cookie
$xui->setCookie(__DIR__.'/Cookie.txt');
$xui->login();
print_r($xui->listInbound());

Example

view Example