PHPackages                             timbogdanov/xui - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. timbogdanov/xui

ActiveLibrary[Admin Panels](/categories/admin)

timbogdanov/xui
===============

Laravel package to handle x‑ui panel connections

v1.0.8(1y ago)17MITPHPPHP ^7.3|^8.0

Since Mar 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/timbogdanov/x-ui-api)[ Packagist](https://packagist.org/packages/timbogdanov/xui)[ RSS](/packages/timbogdanov-xui/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

Xui Package
===========

[](#xui-package)

A Laravel package to interact with the x‑ui panel. This package provides methods for managing x‑ui panel users—including retrieving, updating, creating, and deleting users through the x‑ui API—while also supporting multiple inbound IDs.

Features
--------

[](#features)

- **Client Management:** Retrieve all users, get user by Telegram ID, update, add, and delete users.
- **Traffic Data:** Retrieve traffic data for a user by UUID.
- **Re-Synchronization:** Easily re-sync a user’s data with the x‑ui panel.
- **Multiple Inbounds:** Optionally specify an inbound ID; defaults to the configuration value if not provided.
- **Easy Configuration:** Publish and customize the configuration file for your x‑ui panel credentials and settings.
- **Optional Facade:** Provides a simple facade for quick access.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require timbogdanov/xui
```

Configuration After installing the package, publish the configuration file using Artisan:

```
php artisan vendor:publish --tag=config
```

This will create a config/xui.php file. Edit this file to set your x‑ui panel details:

```
