PHPackages                             thetemplateblog/hosting - 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. thetemplateblog/hosting

ActiveStatamic-addon[Utility &amp; Helpers](/categories/utility)

thetemplateblog/hosting
=======================

Hosting management addon for Statamic

06Blade

Since Nov 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/thetemplateblog/hosting)[ Packagist](https://packagist.org/packages/thetemplateblog/hosting)[ RSS](/packages/thetemplateblog-hosting/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Statamic Hosting Manager
========================

[](#statamic-hosting-manager)

A comprehensive hosting infrastructure management addon for Statamic that helps you manage providers, servers, and sites with a clean, intuitive interface.

[![Hosting Manager Screenshot](screenshots/hosting-manager.png)](screenshots/hosting-manager.png)

Features
--------

[](#features)

### Provider Management

[](#provider-management)

- Secure API key storage with encryption
- Support for major cloud providers:
    - DigitalOcean
    - AWS
    - Linode
    - Vultr
- Easy provider configuration
- API key visibility toggling

### Server Management

[](#server-management)

- Link servers to configured providers
- Environment tracking (Production/Staging/Development)
- Server status monitoring
- SSH credential management
- Server health indicators

### Site Management

[](#site-management)

- Domain management
- Server assignment
- Site status tracking
- Environment indicators
- Quick access to site details

Screenshots
-----------

[](#screenshots)

### Provider Management

[](#provider-management-1)

[![Provider Management](screenshots/providers.png)](screenshots/providers.png)

- Configure hosting providers
- Securely store API credentials
- View provider status

### Server Management

[](#server-management-1)

[![Server Management](screenshots/servers.png)](screenshots/servers.png)

- Manage server configurations
- Track server environments
- Monitor server status

### Site Management

[](#site-management-1)

[![Site Management](screenshots/sites.png)](screenshots/sites.png)

- Manage hosted sites
- Associate with servers
- Track domains and status

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

[](#installation)

You can install this addon via composer:

```
composer require TheTemplateBlog/hosting
```

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

[](#requirements)

- Statamic 4.x
- PHP 8.1 or higher
- Laravel 10.x

Quick Start
-----------

[](#quick-start)

1. Install the addon
2. Configure your first provider
3. Add your servers
4. Start managing your sites

Detailed Setup
--------------

[](#detailed-setup)

### 1. Provider Configuration

[](#1-provider-configuration)

Navigate to `CP → Hosting → Providers` and click "Add Provider":

1. Select your provider type
2. Enter your provider label
3. Add your API credentials
4. Save the provider configuration

### 2. Server Management

[](#2-server-management)

Once you have a provider configured, go to `CP → Hosting → Servers`:

1. Click "Add Server"
2. Select your configured provider
3. Enter server details:
    - Name
    - Username
    - Environment
4. Save the server configuration

### 3. Site Management

[](#3-site-management)

With servers configured, go to `CP → Hosting → Sites`:

1. Click "Add Site"
2. Select the hosting server
3. Enter site details:
    - Name
    - Domain
4. Save the site configuration

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

[](#configuration)

Publish the configuration file:

bash

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

```

### Provider Configuration (`config/hosting.php`)

[](#provider-configuration-confighostingphp)

php

```
return [
    'providers' => [
        [
            'label' => 'DigitalOcean',
            'provider_type' => 'digitalocean',
            'description' => 'DigitalOcean is a cloud infrastructure provider.'
        ],
        [
            'label' => 'AWS',
            'provider_type' => 'aws',
            'description' => 'Amazon Web Services (AWS) is a comprehensive cloud platform.'
        ],
        [
            'label' => 'Linode',
            'provider_type' => 'linode',
            'description' => 'Linode provides simple, affordable, and fast cloud infrastructure.'
        ],
        [
            'label' => 'Vultr',
            'provider_type' => 'vultr',
            'description' => 'Vultr delivers high-performance cloud compute environments.'
        ]
    ]
];

```

Data Storage
------------

[](#data-storage)

All data is stored securely in the user's YAML file:

- Provider configurations (with encrypted API keys)
- Server details
- Site information

Security
--------

[](#security)

### API Key Encryption

[](#api-key-encryption)

All API keys are encrypted using Laravel's encryption system before storage.

### Access Control

[](#access-control)

The addon integrates with Statamic's permission system.

### Data Protection

[](#data-protection)

Sensitive data is stored in secure user YAML files.

Troubleshooting
---------------

[](#troubleshooting)

### Common Issues

[](#common-issues)

1. **Provider Not Showing**

    - Check provider configuration
    - Verify API credentials
2. **Server Connection Issues**

    - Verify SSH credentials
    - Check server firewall settings
3. **Site Management Issues**

    - Confirm server configuration
    - Verify domain settings

Development
-----------

[](#development)

### Local Development Setup

[](#local-development-setup)

1. Clone the repository:

bash

```
git clone https://github.com/TheTemplateBlog/hosting.git

```

2. Install dependencies:

bash

```
composer install

```

3. Link to your Statamic installation:

bash

```
php artisan package:discover

```

### Testing

[](#testing)

Run the test suite:

bash

```
composer test

```

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

[](#contributing)

Please see [CONTRIBUTING.md](https://www.typingmind.com/CONTRIBUTING.md) for details.

Security
--------

[](#security-1)

If you discover any security-related issues, please email  instead of using the issue tracker.

Please see [SECURITY.md](https://www.typingmind.com/SECURITY.md) for more details.

Credits
-------

[](#credits)

- [Your Name](https://github.com/yourusername)
- [All Contributors](https://www.typingmind.com/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://www.typingmind.com/LICENSE.md) for more information.

Support
-------

[](#support)

### Documentation

[](#documentation)

Full documentation is available at [docs.example.com](https://docs.example.com/)

### Issues

[](#issues)

Please report issues via the [GitHub issue tracker](https://github.com/TheTemplateBlog/hosting/issues)

### Community

[](#community)

Join our [Discord community](https://discord.gg/example) for support and discussion

Roadmap
-------

[](#roadmap)

- Provider API Integration
- Automated Server Provisioning
- Backup Management
- SSL Certificate Management
- Site Deployment Automation
- Server Monitoring
- Performance Analytics
- Multi-user Support

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ab55503b5ed31ac24a1d77451a47ae8b26e916c290fffeeceb67bab85d2f004?d=identicon)[thetemplateblog](/maintainers/thetemplateblog)

---

Top Contributors

[![thetemplateblog](https://avatars.githubusercontent.com/u/1240506?v=4)](https://github.com/thetemplateblog "thetemplateblog (13 commits)")

### Embed Badge

![Health badge](/badges/thetemplateblog-hosting/health.svg)

```
[![Health](https://phpackages.com/badges/thetemplateblog-hosting/health.svg)](https://phpackages.com/packages/thetemplateblog-hosting)
```

###  Alternatives

[lullabot/amp

A set of useful classes and utilities to convert html to AMP html (See https://www.ampproject.org/)

3802.9M10](/packages/lullabot-amp)[pragmarx/coollection

Laravel Illuminate collection with objectified properties

943.4M11](/packages/pragmarx-coollection)[valorin/random

Random is a simple helper package designed to make it easy to generate a range of different cryptographically secure random values.

228188.4k2](/packages/valorin-random)[pragmarx/ia-str

Laravel Illuminate Agnostic Str

523.5M5](/packages/pragmarx-ia-str)[sailenicolas/forceutf8

PHP Class Encoding featuring popular Encoding::toUTF8() function --formerly known as forceUTF8()-- that fixes mixed encoded strings.

53267.9k](/packages/sailenicolas-forceutf8)[prism-php/bedrock

A provider for Prism adding support for AWS Bedrock.

35116.8k1](/packages/prism-php-bedrock)

PHPackages © 2026

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