PHPackages                             jan-vince/smallextensions-plugin - 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. jan-vince/smallextensions-plugin

ActiveOctober-plugin[Utility &amp; Helpers](/categories/utility)

jan-vince/smallextensions-plugin
================================

Set of small tools for Rainlab.Pages and Rainlab.Blog plugins.

v1.22.0(8mo ago)147715PHP

Since Jul 19Pushed 8mo ago3 watchersCompare

[ Source](https://github.com/jan-vince/smallextensions)[ Packagist](https://packagist.org/packages/jan-vince/smallextensions-plugin)[ RSS](/packages/jan-vince-smallextensions-plugin/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Small Extensions
================

[](#small-extensions)

> Set of small tools for Rainlab.Pages and Rainlab.Blog plugins .

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

[](#installation)

**GitHub** clone into `/plugins` dir:

```
git clone https://github.com/jan-vince/smallextensions
```

**OctoberCMS backend**

Just look for 'Small Extensions' in search field in:

> Settings &gt; Updates&amp;Plugins &gt; Install plugins

### Permissions

[](#permissions)

You can set permissions to restrict settings page of this plugin.

Rainlab.Blog Extension
----------------------

[](#rainlabblog-extension)

> *OctoberCMS &gt; Backend &gt; Settings &gt; Small Extensions &gt; Blog*

> *Depends on: [Rainlab.Blog](https://octobercms.com/plugin/rainlab-blog) plugin!*

Rainlab Blog is a great plugin, but none of my clients is happy with MarkDown syntax to edit posts.

#### Settings

[](#settings)

- **WYSIWYG editor**

    - Enable to switch between default MarkDown or OctoberCMS's Rich editor.
    - Allows you to add custom toolbar buttons.
- **Change post author**

    - Adds post author field with administrators dropdown
- **Link Rainlab User**

    - Adds Rainlab User field with users dropdown (but will be visible only if Rainlab User plugin is installed)
- **Custom fields**

    - Adds selected extra fields to blog post editing page on More tab (available fields: API code, string, text, switch, date&amp;time, repeater (as notes) and Media image)
    - Allow to replace original featured images upload field with one featured image selectable from Media manager

Rainlab.Pages Extension
-----------------------

[](#rainlabpages-extension)

> *OctoberCMS &gt; Backend &gt; Settings &gt; Small Extensions &gt; Static pages*

> *Depends on: [Rainlab.Pages](https://octobercms.com/index.php/plugin/rainlab-pages) plugin!*

#### Settings

[](#settings-1)

- **Hide Content field (depricated)**

    - Allow to hide default Content tab and field from Pages editing page.
    - Useful for those, who uses {variable} fields and are little bit confused with default secondary content tab.
- **Enable Menu notes**

    - If on, new tab Notes and a field Note is added to Menu items editing popup window.
    - text is then accessible from page/layout from {{item.viewBag.note}}.
- **Enable Page duplicating**

    - If on, Static Pages can be duplicated by backend user.

System Extension
----------------

[](#system-extension)

> *OctoberCMS &gt; Backend &gt; Settings &gt; Small Extensions &gt; System*

#### Settings

[](#settings-2)

- **Custom fields**
    - Adds extra fields to backend administrators form (currently only field description)

Twig Extensions
---------------

[](#twig-extensions)

#### New functions

[](#new-functions)

- **getImageSizeAttributes(image)**
- Get image dimensions for use in `` tag like: ``
- Will output ``.
- **|\_** (trans), **|\_\_** (choice)

    - If Rainlab Translate plugin is not present, bypass trans and choice functions
- **truncate**

    - {{ text|truncate(20, true, '\*') }}
    - length, preserve words (default false), separator (default is '...')

Report Widgets
--------------

[](#report-widgets)

#### Cache cleaner

[](#cache-cleaner)

There is a dashboard widget that cleans cache files and folders.

*It doesn't use Artisan `cache:clear` so it works on sites where `putenv()` function is disabled.*

#### Optimize database

[](#optimize-database)

There is a dashboard widget that optimize database.

Supported databases and used commands:

- SQLite - VACUUM

Components
----------

[](#components)

\#### Force login

You can place **forceLogin** component to your page, layout or partial.

Than if you check `Allow force login` checkbox in Plugin's settings, visitors will be redirected to `backedUri` configured in `/config/cms.php`.

Useful when you need to limit access to several pages or whole site to only administrators while testing.

---

> My special thanks goes to: [OctoberCMS](http://www.octobercms.com) team members and supporters for this great system. [Joel kyber](https://unsplash.com/@jtkyber1) for his photo I have used in the plugin banner. [Font Awesome](http://www.fontawesome.io) for Universal access symbol.

Created by [Jan Vince](http://www.vince.cz), freelance web designer from Czech Republic.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance60

Regular maintenance activity

Popularity20

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.6% 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 ~190 days

Recently: every ~240 days

Total

7

Last Release

256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d0762b85a7c8514e93d4114ae9bbd9dbacfe9efc2b6bd76ef151ebdcec39bf9?d=identicon)[jan-vince](/maintainers/jan-vince)

---

Top Contributors

[![jan-vince](https://avatars.githubusercontent.com/u/1104383?v=4)](https://github.com/jan-vince "jan-vince (130 commits)")[![gergo85](https://avatars.githubusercontent.com/u/2959112?v=4)](https://github.com/gergo85 "gergo85 (3 commits)")[![canthis](https://avatars.githubusercontent.com/u/644543?v=4)](https://github.com/canthis "canthis (1 commits)")[![Rike-cz](https://avatars.githubusercontent.com/u/4247582?v=4)](https://github.com/Rike-cz "Rike-cz (1 commits)")[![SalocinDotTEN](https://avatars.githubusercontent.com/u/301921?v=4)](https://github.com/SalocinDotTEN "SalocinDotTEN (1 commits)")

### Embed Badge

![Health badge](/badges/jan-vince-smallextensions-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/jan-vince-smallextensions-plugin/health.svg)](https://phpackages.com/packages/jan-vince-smallextensions-plugin)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

18238.1k2](/packages/civicrm-civicrm-drupal-8)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

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