PHPackages                             lesaff/laravel-serverpilot - 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. lesaff/laravel-serverpilot

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

lesaff/laravel-serverpilot
==========================

1.0(8y ago)21091MITPHP

Since Oct 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lesaff/laravel-serverpilot)[ Packagist](https://packagist.org/packages/lesaff/laravel-serverpilot)[ RSS](/packages/lesaff-laravel-serverpilot/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

ServerPilot PHP API Wrapper for Laravel 5
=========================================

[](#serverpilot-php-api-wrapper-for-laravel-5)

Version: 1.0.0

This is a Laravel 5.x wrapper for Dave Rogers' excellent [ServerPilot PHP API](https://github.com/daverogers/serverpilot-php). It comes with Service Container binding and Facade alias.

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

[](#installation)

1. Run `composer require lesaff/laravel-serverpilot`
2. Grab ServerPilot's API ID and Key from your SP's admin panel
3. Set `SERVERPILOT_API_ID` and `SERVERPILOT_API_KEY` in your `.env` file
4. Edit `app/config/app.php`,

    add the following to your providers' array

    ```
    Lesaff\LaravelServerPilot\ServerPilotServiceProvider::class,

    ```

    add the following to your class aliases array

    ```
    'SP' => Lesaff\LaravelServerPilot\Facades\ServerPilot::class,

    ```

Usage
-----

[](#usage)

As a **Facade**

```
$servers = \SP::server_list();

```

As a **Dependency injection**

```
Route::get('/servers', function (\Lesaff\LaravelServerPilot $sp) {
	$servers = $sp->server_list();
});

```

For full PHP API usage, please refer to

by Rudy Affandi (2017)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3122d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad5792e2f4a4365060cb97a941ac712f8ef02a128aa132597d8cb755e9a3165e?d=identicon)[lesaff](/maintainers/lesaff)

---

Top Contributors

[![rudyaffandi](https://avatars.githubusercontent.com/u/92957514?v=4)](https://github.com/rudyaffandi "rudyaffandi (5 commits)")

---

Tags

api-wrapperlaravellaravel5phpserverpilot

### Embed Badge

![Health badge](/badges/lesaff-laravel-serverpilot/health.svg)

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

###  Alternatives

[rashid2538/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

71129.8k](/packages/rashid2538-php-htmldiff)[tchoulom/view-counter-bundle

The "View Counter" bundle

1731.3k](/packages/tchoulom-view-counter-bundle)[edofre/laravel-fullcalendar-scheduler

Laravel component for fullcalendar scheduler module

251.5k](/packages/edofre-laravel-fullcalendar-scheduler)

PHPackages © 2026

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