PHPackages                             statikbe/laravel-sir-trevor - 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. statikbe/laravel-sir-trevor

ActiveLibrary

statikbe/laravel-sir-trevor
===========================

SirTrevor in Laravel

1.1.1(2y ago)2385MITJavaScriptPHP &gt;=8.0

Since May 16Pushed 2y ago6 watchersCompare

[ Source](https://github.com/statikbe/laravel-sir-trevor)[ Packagist](https://packagist.org/packages/statikbe/laravel-sir-trevor)[ RSS](/packages/statikbe-laravel-sir-trevor/feed)WikiDiscussions master Synced 2mo ago

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

Sir Trevor implementation
=========================

[](#sir-trevor-implementation)

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

[](#installation)

You can install this package via composer using this command:

```
composer require statikbe/laravel-sir-trevor
```

Publish the config, javascript and css with:

```
php artisan vendor:publish --provider="Statikbe\SirTrevor\SirTrevorServiceProvider"
```

This is the contents of the published config file:

```
return [
    'class' => 'sir-trevor',

    'blocktypes' => ['Text', 'List', 'Quote', 'Video', 'Tweet', 'Heading', 'RichText', 'ImageExtended'],

    'js_path' => '/js/sir-trevor/sir-trevor.js',

    'css_path' => '/css/sir-trevor/sir-trevor.css',

    'icons_path' => '/assets/icons/sir-trevor/sir-trevor-icons.svg',

    'upload_url' => '/sir-trevor/upload',

    'upload_directory' => 'public/uploads',

    'language' => 'nl'

];
```

Add to config/app.php inside the provider array

```
Collective\Html\HtmlServiceProvider::class,
```

Add to config/app.php inside the alias array

```
'Form' => Collective\Html\FormFacade::class,
'HTML' => Collective\Html\HtmlFacade::class,
```

Usage
-----

[](#usage)

Add the following code inside the header of your page

```
{!! SirTrevor::includeStylesheets() !!}
```

The Sir Trevor scripts require [jQuery](https://code.jquery.com/), so be sure to add [jQuery](https://code.jquery.com/) to your page.

Add the following code at the bottem of your page

```
{!! SirTrevor::includeScripts() !!}
```

On your Sir Trevor input field add the class name defined in your config, which by default is '**sir-trevor**'

```

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 64.7% 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 ~177 days

Recently: every ~130 days

Total

13

Last Release

789d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0

1.1.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1250437446b84017407f7f1900194b1e1c93fcf34b332ba382fb77f69b251cb6?d=identicon)[statikbe](/maintainers/statikbe)

---

Top Contributors

[![sten](https://avatars.githubusercontent.com/u/180665?v=4)](https://github.com/sten "sten (22 commits)")[![michielabe](https://avatars.githubusercontent.com/u/17254139?v=4)](https://github.com/michielabe "michielabe (10 commits)")[![kristofser](https://avatars.githubusercontent.com/u/5928907?v=4)](https://github.com/kristofser "kristofser (2 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/statikbe-laravel-sir-trevor/health.svg)

```
[![Health](https://phpackages.com/badges/statikbe-laravel-sir-trevor/health.svg)](https://phpackages.com/packages/statikbe-laravel-sir-trevor)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[outerweb/image-library

Store and link files to your models

1113.0k2](/packages/outerweb-image-library)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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