PHPackages                             codeiqbv/laravel-virtualizor - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. codeiqbv/laravel-virtualizor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codeiqbv/laravel-virtualizor
============================

Integration between Laravel and Virtualizro

v0.1-beta(1y ago)192[4 PRs](https://github.com/CODEIQBV/laravel-virtualizor/pulls)MITPHPPHP ^8.0CI passing

Since Nov 29Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/CODEIQBV/laravel-virtualizor)[ Packagist](https://packagist.org/packages/codeiqbv/laravel-virtualizor)[ Docs](https://github.com/codeiqbv/laravel-virtualizor)[ GitHub Sponsors](https://github.com/CODEIQ)[ RSS](/packages/codeiqbv-laravel-virtualizor/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (5)Used By (0)

Laravel Virtualizor
===================

[](#laravel-virtualizor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a7338c3d828e1c68be299207e96ae75349193af0f9586a543956271e9f4606d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6465697162762f6c61726176656c2d7669727475616c697a6f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codeiqbv/laravel-virtualizor)[![Total Downloads](https://camo.githubusercontent.com/ce65afc35845b078daab2531e4dc8c51cc7c4023b9ab1376e2c00f0a41a99664/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6465697162762f6c61726176656c2d7669727475616c697a6f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codeiqbv/laravel-virtualizor)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

A Laravel package that provides a clean and elegant way to interact with the Virtualizor API. This package offers a fluent interface for both Admin and Enduser APIs, making it easy to manage your Virtualizor infrastructure from your Laravel application.

Features
--------

[](#features)

- 🚀 Full support for both Admin and Enduser APIs
- 💪 Fluent interface with proper type hinting
- 🛡️ Comprehensive error handling
- 📝 Extensive documentation
- ⚡ Laravel integration with config file and facade
- 🧪 Well tested

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Laravel 10.0 or higher

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

[](#installation)

You can install the package via composer:

```
composer require codeiqbv/laravel-virtualizor
```

Configuration
-------------

[](#configuration)

Publish the config file:

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

Add your credentials to `.env`:

```
VIRTUALIZOR_ADMIN_KEY=your_admin_key
VIRTUALIZOR_ADMIN_PASS=your_admin_pass
VIRTUALIZOR_ADMIN_IP=your_admin_ip
VIRTUALIZOR_ADMIN_PORT=4085

VIRTUALIZOR_ENDUSER_KEY=your_enduser_key
VIRTUALIZOR_ENDUSER_PASS=your_enduser_pass
VIRTUALIZOR_ENDUSER_IP=your_enduser_ip
VIRTUALIZOR_ENDUSER_PORT=4083

VIRTUALIZOR_DEBUG=false
```

Usage
-----

[](#usage)

### Admin API

[](#admin-api)

Check our wiki to find out how you do certain calls. It is easy. You can also check the Virtualizor API docs, we covered almost every endpoint and are still working on adding more. In the WIKI directory we try to add documentation as best as we can.

Error Handling
--------------

[](#error-handling)

The package throws `VirtualizorApiException` for API errors:

```
use CODEIQ\Virtualizor\Exceptions\VirtualizorApiException;

try {
    $users = VirtualizorAdmin::users()->list();
} catch (VirtualizorApiException $e) {
    $message = $e->getMessage();
    $context = $e->getContext(); // Available when debug is enabled
}
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance68

Regular maintenance activity

Popularity8

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

534d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99356214977e31d05b492da4a254752556f42713dce44a7b93aa3489d893974c?d=identicon)[codeiq](/maintainers/codeiq)

---

Top Contributors

[![MortezaIccY](https://avatars.githubusercontent.com/u/77970977?v=4)](https://github.com/MortezaIccY "MortezaIccY (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![devserge](https://avatars.githubusercontent.com/u/50453582?v=4)](https://github.com/devserge "devserge (2 commits)")

---

Tags

laravelCODEIQlaravel-virtualizor

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/codeiqbv-laravel-virtualizor/health.svg)

```
[![Health](https://phpackages.com/badges/codeiqbv-laravel-virtualizor/health.svg)](https://phpackages.com/packages/codeiqbv-laravel-virtualizor)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
