PHPackages                             supercool/functions - 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. supercool/functions

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

supercool/functions
===================

Craft CMS plugin to provide some useful tools

1.0.0(7y ago)018.7kMITPHP

Since Aug 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/supercool/functions)[ Packagist](https://packagist.org/packages/supercool/functions)[ RSS](/packages/supercool-functions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Functions plugin for Craft CMS 3.x
==================================

[](#functions-plugin-for-craft-cms-3x)

Craft CMS plugin to provide some useful tools

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

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require supercool/functions

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Functions.

Utilities
---------

[](#utilities)

Utilities are collection of buttons in Craft CMS control panel in Utilities section. Our clients have access to them and can perform some basic actions as follows:

- **Clear Queues**
- **Clear Cache** (This clears template caches. When CacheMonster cache is cleared it also clears any static cache like Nginx static cache)

Hidden Things
-------------

[](#hidden-things)

There are some hidden things that are not visible in Craft CMS CP which this plugin does or offers.

### Controller actions

[](#controller-actions)

#### clearCaches

[](#clearcaches)

This is a controller action which can be accessed using a browser. Lets say we have this plugin installed on a example project with url `https://example.com` we can access this as follows

- `https://example.com/actions/functions/utilities/clear-caches`

**clearCaches** (This clears all template cache including FastCGI static cache if the path is defined in config)

#### warmCaches

[](#warmcaches)

This is a controller action which can be accessed using a browser. Lets say we have this plugin installed on a example project with url `https://example.com` we can access this as follows

- `https://example.com/actions/functions/utilities/warm-caches`

**warmCache** (This simple visits all urls in sitemap.xml file using Guzzle client)

### Zendesk Widget

[](#zendesk-widget)

This plugin also adds a nav link called `Support` to the sidebar of Craft's navigation which opens up a Zendesk widget that can be used by clients to submit support tickets to Zendesk.

We are adding the link in plugins main file using Craft's hook called `modifyCpNav` and widget's logic is defined in `functions.js` file.

Brought to you by [Supercool Ltd](http://www.supercooldesign.co.uk/)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

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

Unknown

Total

1

Last Release

2834d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2e814e34ae462e254dfcf16887de782be93f37206262aa80e978bf42dc62915?d=identicon)[supercool](/maintainers/supercool)

---

Top Contributors

[![Nav33d](https://avatars.githubusercontent.com/u/4228466?v=4)](https://github.com/Nav33d "Nav33d (6 commits)")

---

Tags

cmsfunctionsCraftcraftcmscraft-plugincraftcms3supercool

### Embed Badge

![Health badge](/badges/supercool-functions/health.svg)

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

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[verbb/vizy

A flexible visual editor field for Craft.

4348.6k](/packages/verbb-vizy)

PHPackages © 2026

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