PHPackages                             lifeboat/silverstripe - 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. lifeboat/silverstripe

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

lifeboat/silverstripe
=====================

Lifeboat PHP SDK - Silverstripe Wrapper

036PHP

Since Apr 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lifeboat-app/lifeboat-silverstripe-recipe)[ Packagist](https://packagist.org/packages/lifeboat/silverstripe)[ RSS](/packages/lifeboat-silverstripe/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Lifeboat SDK - Silverstripe Recipe
==================================

[](#lifeboat-sdk---silverstripe-recipe)

A simple wrapper for [Lifeboat PHP SDK](https://github.com/lifeboat-app/php-sdk)

This wrapper provides access to 2 classes which your app can extend from to make it easy to create Lifeboat Apps. It also loads the `APP_ID` and `APP_SECRET` directly from your environment variables.

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

[](#installation)

You can install this module via [Composer](https://getcomposer.org). Run the command

```
composer require lifeboat/silverstripe

```

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

[](#configuration)

**.env**

```
LIFEBOAT_APP_ID='[[Your App ID goes here]]'
LIFEBOAT_APP_SECRET='[[Your App Secret goes here]]'
```

### Alternatively create a `.yml` config

[](#alternatively-create-a-yml-config)

**lifeboat.yml**

```
---
Name: lifeboat_config
After:
  - '#lifeboat_silverstripe_app'
---
Lifeboat\Models\Site:
  APP_ID: "[[YOUR APP ID]]"
  APP_SECRET: "[[YOUR APP SECRET]]"
---
```

Helper Classes
--------------

[](#helper-classes)

**Lifeboat\\Models\\Site**

```
// Get the current active site object
Lifeboat\Models\Site::curr();
```

This object will automatically store the user's active site and allows for automatic filtering of the objects so that you only show objects this user has access to.

**Lifeboat\\Controllers\\AppController**

```
class YourController extends Lifeboat\Controllers\AppController {}
```

By extending from the `AppController` class you'll ensure that anyone that interacts with your app is authenticated and is using the correct site object

**Lifeboat\\Extensions\\SiteObject**

```
YourObject:
  extensions:
    - Lifeboat\Extensions\SiteObject
```

Make sure to add the `SiteObject` extension to your Data Models. This will add a `Site` relationship and automatically filter objects based on the currently active site via `augmentSQL`.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90% 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://avatars.githubusercontent.com/u/5817606?v=4)[Dylan Grech](/maintainers/dylangrech92)[@dylangrech92](https://github.com/dylangrech92)

---

Top Contributors

[![dylangrech92](https://avatars.githubusercontent.com/u/5817606?v=4)](https://github.com/dylangrech92 "dylangrech92 (9 commits)")[![chalie-ai](https://avatars.githubusercontent.com/u/262650352?v=4)](https://github.com/chalie-ai "chalie-ai (1 commits)")

### Embed Badge

![Health badge](/badges/lifeboat-silverstripe/health.svg)

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

###  Alternatives

[kartik-v/yii2-grid

Yii 2 GridView on steroids. Various enhancements and utilities for the Yii 2.0 GridView widget.

5546.9M182](/packages/kartik-v-yii2-grid)[lochmueller/calendarize

Create a structure for timely controlled tables (e.g. events) and one plugin for the different output of calendar views (list, detail, month, year, day, week...). The extension is shipped with one default event table, but you can also 'calendarize' your own table/model. It is completely independent and configurable! Use your own models as event items in this calender. Development on https://github.com/lochmueller/calendarize

76166.2k14](/packages/lochmueller-calendarize)[jaybizzle/safeurl

A Laravel package to create safe, SEO friendly urls

1789.6k1](/packages/jaybizzle-safeurl)[maximaster/tools.events

Библиотека осуществляет помощь для автоматической загрузки обработчиков событий при соблюдении определенной структуры

2530.3k](/packages/maximaster-toolsevents)[sinergi/token

PHP library to generate random strings

188.8k9](/packages/sinergi-token)

PHPackages © 2026

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