PHPackages                             vented/enhance-api-laravel - 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. [API Development](/categories/api)
4. /
5. vented/enhance-api-laravel

ActiveLibrary[API Development](/categories/api)

vented/enhance-api-laravel
==========================

An Enhance API SDK tailored for usage within Laravel

01[4 PRs](https://github.com/Vented-Labs/enhance-api-laravel/pulls)PHPCI passing

Since Oct 20Pushed 1mo agoCompare

[ Source](https://github.com/Vented-Labs/enhance-api-laravel)[ Packagist](https://packagist.org/packages/vented/enhance-api-laravel)[ RSS](/packages/vented-enhance-api-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Enhance API Laravel
===================

[](#enhance-api-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4dfa8317f862dbb8fba4c6f259c96e780dd1b0927ce4b86f2368d21cf6ef3095/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76656e7465642f656e68616e63652d6170692d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vented/enhance-api-laravel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4e4cd02f71025a129059199049eed81999c287f5ad3e44a78165ddde951b0cd1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76656e7465642d6c6162732f656e68616e63652d6170692d6c61726176656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/vented-labs/enhance-api-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/36eb15dbbc99bc18ba1bd13070f0da7206a0f4816a34cf535e4f1cbd9b839f6e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76656e7465642d6c6162732f656e68616e63652d6170692d6c61726176656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/vented-labs/enhance-api-laravel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/df2f445cb4cd35323fa3aac4e61ee94a4143692ecedaa1a54aabf6a6c99b22d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76656e7465642f656e68616e63652d6170692d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vented/enhance-api-laravel)

An Enhance API SDK tailored for usage within Laravel applications. This package provides a clean, Laravel-friendly wrapper around the auto-generated Enhance API client, making it easy to integrate Enhance's hosting management capabilities into your Laravel projects.

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

[](#installation)

You can install the package via composer:

```
composer require vented/enhance-api-laravel
```

You can publish the config file with:

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

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

[](#configuration)

Set your Enhance API credentials in your `.env` file:

```
ENHANCE_API_URL=https://your-enhance-api-endpoint.com
ENHANCE_API_TOKEN=your-api-token-here
ENHANCE_API_ORGANIZATION=your-default-org-id
```

This is the contents of the published config file:

```
return [
    'base_url' => env('ENHANCE_API_URL', ''),
    'api_key' => env('ENHANCE_API_TOKEN'),
    'default_organization' => env('ENHANCE_API_ORGANIZATION', ''),
    'timeout' => env('ENHANCE_API_TIMEOUT', 30),
    'retry' => [
        'times' => env('ENHANCE_API_RETRY_TIMES', 3),
        'sleep' => env('ENHANCE_API_RETRY_SLEEP', 1000),
    ],
];
```

Usage
-----

[](#usage)

### Via Facade

[](#via-facade)

```
use Vented\EnhanceApiLaravel\Facades\Enhance;

// Get all organizations
$orgs = Enhance::orgs()->getAllOrgs();

// Get websites
$websites = Enhance::websites()->getWebsites();

// Get domains
$domains = Enhance::domains()->getDomains();

// Manage servers
$servers = Enhance::servers()->getServers();
```

### Via Service Container

[](#via-service-container)

```
use Vented\EnhanceApiLaravel\EnhanceApiLaravel;

class YourController extends Controller
{
    public function __construct(
        private EnhanceApiLaravel $enhance
    ) {}

    public function index()
    {
        $websites = $this->enhance->websites()->getWebsites();
        $domains = $this->enhance->domains()->getDomains();

        return view('dashboard', compact('websites', 'domains'));
    }
}
```

Available API Endpoints
-----------------------

[](#available-api-endpoints)

The SDK provides access to all Enhance API endpoints:

- **Apps**: `Enhance::apps()` - Application management
- **Backups**: `Enhance::backups()` - Backup operations
- **Customers**: `Enhance::customers()` - Customer management
- **DNS**: `Enhance::dns()` - DNS record management
- **Domains**: `Enhance::domains()` - Domain operations
- **Emails**: `Enhance::emails()` - Email account management
- **MySQL**: `Enhance::mysql()` - Database management
- **Organizations**: `Enhance::orgs()` - Organization management
- **Servers**: `Enhance::servers()` - Server management
- **Websites**: `Enhance::websites()` - Website management
- **WordPress**: `Enhance::wordpress()` - WordPress-specific operations
- And many more...

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Vented Labs](https://github.com/Vented-Labs)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance60

Regular maintenance activity

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/484ddc172516e50ae452c722c0f23bc01bfe9f31d445b225fb63ca99a349568f?d=identicon)[masoncurry](/maintainers/masoncurry)

---

Top Contributors

[![macaws](https://avatars.githubusercontent.com/u/1994572?v=4)](https://github.com/macaws "macaws (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/vented-enhance-api-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/vented-enhance-api-laravel/health.svg)](https://phpackages.com/packages/vented-enhance-api-laravel)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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