PHPackages                             webslicehq/statamic-provider - 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. webslicehq/statamic-provider

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

webslicehq/statamic-provider
============================

Webslice service provider for Statamic CMS applications

2025.12.01(7mo ago)04051[1 PRs](https://github.com/webslicehq/statamic-provider/pulls)MITPHPPHP ^8.1

Since Dec 1Pushed 3w agoCompare

[ Source](https://github.com/webslicehq/statamic-provider)[ Packagist](https://packagist.org/packages/webslicehq/statamic-provider)[ RSS](/packages/webslicehq-statamic-provider/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (10)Used By (0)

Webslice Statamic Provider
==========================

[](#webslice-statamic-provider)

A Statamic CMS service provider for configuring Webslice serverless environments.

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

[](#installation)

You can install the package via Composer:

```
composer require webslicehq/statamic-provider
```

The service provider will be automatically discovered by Laravel.

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

[](#configuration)

The provider will only run when the environment variable `WEBSLICE` is set to `true`, this is automatically added to the environment when deploying to the Webslice Serverless platform (to disable the provider in Webslice you can set the environment variable `DISABLE_WEBSLICE_PROVIDER` to `true`).

When `WEBSLICE` is set, the service provider automatically configures your Statamic application for the serverless environment.

### Session &amp; Cache Drivers

[](#session--cache-drivers)

Config KeyValue`session.driver``cookie``cache.stores.glide.driver``file`### Temporary Storage (`/tmp/storage`)

[](#temporary-storage-tmpstorage)

These paths use ephemeral storage that is unique to each application instance.

Config KeyPath`cache.stores.file.path``/tmp/storage/framework/cache/data``view.compiled``/tmp/storage/framework/views``cache.stores.glide.path``/tmp/storage/framework/cache/glide`### Persistent Storage (`/mnt/data/website/shared`)

[](#persistent-storage-mntdatawebsiteshared)

These paths use shared storage that persists between deployments:

Config KeyPath`logging.channels.single.path``/mnt/data/website/shared/logs/laravel.log``logging.channels.daily.path``/mnt/data/website/shared/logs/laravel.log``logging.channels.emergency.path``/mnt/data/website/shared/logs/laravel.log``statamic.forms.submissions``/mnt/data/website/shared/form-submissions``statamic.assets.image_manipulation.cache_path``/mnt/data/website/shared/public/glide-cache`Glide Image Cache
-----------------

[](#glide-image-cache)

The provider symlinks the glide-cache route to the shared directory path so your assets can be served from the shared directory.

Manual Registration
-------------------

[](#manual-registration)

If you need to manually register the service provider, add it to the `providers` array in `config/app.php`:

```
'providers' => [
    // ...
    Webslice\StatamicProvider\WebsliceServiceProvider::class,
],
```

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

[](#requirements)

- PHP 8.1 or higher
- Laravel 10.x or 11.x
- Statamic CMS 4.x or 5.x

License
-------

[](#license)

MIT

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance82

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Every ~32 days

Total

3

Last Release

150d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/73199249?v=4)[Webslice](/maintainers/webslicehq)[@webslicehq](https://github.com/webslicehq)

---

Top Contributors

[![flynn-sitehost](https://avatars.githubusercontent.com/u/294628663?v=4)](https://github.com/flynn-sitehost "flynn-sitehost (2 commits)")[![Tim-Blyth-SiteHost](https://avatars.githubusercontent.com/u/75048324?v=4)](https://github.com/Tim-Blyth-SiteHost "Tim-Blyth-SiteHost (2 commits)")[![benlilley](https://avatars.githubusercontent.com/u/167721?v=4)](https://github.com/benlilley "benlilley (1 commits)")[![piedshag](https://avatars.githubusercontent.com/u/9142109?v=4)](https://github.com/piedshag "piedshag (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webslicehq-statamic-provider/health.svg)

```
[![Health](https://phpackages.com/badges/webslicehq-statamic-provider/health.svg)](https://phpackages.com/packages/webslicehq-statamic-provider)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M6](/packages/propaganistas-laravel-disposable-email)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.0k1](/packages/mike-bronner-laravel-model-caching)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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