PHPackages                             plato-creative/silverstripe-embed - 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. plato-creative/silverstripe-embed

ActiveSilverstripe-vendormodule

plato-creative/silverstripe-embed
=================================

Adds embed and video a dataobject along with dataextension to apply embed to existing objects.

1.0.5(2y ago)01602BSD-3-ClausePHP

Since Mar 12Pushed 2y agoCompare

[ Source](https://github.com/PlatoCreative/silverstripe-embed)[ Packagist](https://packagist.org/packages/plato-creative/silverstripe-embed)[ Docs](https://github.com/PlatoCreative/silverstripe-embed)[ RSS](/packages/plato-creative-silverstripe-embed/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (7)Used By (0)

Silverstripe embed
==================

[](#silverstripe-embed)

[![ko-fi](https://camo.githubusercontent.com/3083b1b9120d3820370812846fe8349310dbba940baa14700d89db51b80a2629/68747470733a2f2f7777772e6b6f2d66692e636f6d2f696d672f646f6e6174655f736d2e706e67)](https://ko-fi.com/E1E5HWRR)

Adds embed and video a dataobject along with dataextension to apply embed to existing objects.

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

[](#installation)

Composer is the recommended way of installing SilverStripe modules.

```
composer require gorriecoe/silverstripe-embed

```

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

[](#requirements)

- silverstripe/framework ^4.0

Maintainers
-----------

[](#maintainers)

- [Gorrie Coe](https://github.com/gorriecoe)

Usage
-----

[](#usage)

Relationship to Embed Dataobjects

```
use gorriecoe\Embed\Models\Embed;

class ClassName extends DataObject
{
    private static $has_one = [
        'Embed' => Embed::class,
        'Video' => Video::class
    ];

    public function getCMSFields()
    {
        ...
        $fields->addFieldsToTab(
            'Main',
            [
                HasOneButtonField::create(
                    'Embed',
                    'Embed',
                    $this
                ),
                HasOneButtonField::create(
                    'Video',
                    'Video',
                    $this
                )
            ]
        );
        ...
    }
}
```

Update current DataObject to be Embeddable with DataExtension

```
use gorriecoe\Embed\Extensions\Embeddable;

class ClassName extends DataObject
{
    private static $extensions = [
        Embeddable::class,
    ];

    /**
     * List the allowed included embed types.  If null all are allowed.
     * @var array
     */
    private static $allowed_embed_types = [
        'video',
        'photo'
    ];

    /**
     * Defines tab to insert the embed fields into.
     * @var string
     */
    private static $embed_tab = 'Main';
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

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

Every ~386 days

Recently: every ~471 days

Total

6

Last Release

1048d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23e3a1ee967f8874e7e6bdc6394b03876b07e281c437c2fc40113e7a01b83878?d=identicon)[platocreative](/maintainers/platocreative)

---

Top Contributors

[![gorriecoe](https://avatars.githubusercontent.com/u/11811440?v=4)](https://github.com/gorriecoe "gorriecoe (16 commits)")[![merwinpoulose](https://avatars.githubusercontent.com/u/15919557?v=4)](https://github.com/merwinpoulose "merwinpoulose (2 commits)")[![thilan-plato](https://avatars.githubusercontent.com/u/122753056?v=4)](https://github.com/thilan-plato "thilan-plato (2 commits)")[![dawb](https://avatars.githubusercontent.com/u/777930?v=4)](https://github.com/dawb "dawb (1 commits)")

---

Tags

silverstripecmsembed

### Embed Badge

![Health badge](/badges/plato-creative-silverstripe-embed/health.svg)

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

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5163.4M1.3k](/packages/silverstripe-cms)

PHPackages © 2026

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