PHPackages                             carlcs/craft-glob - 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. carlcs/craft-glob

ActiveCraft-plugin

carlcs/craft-glob
=================

Glob plugin for Craft CMS

v1.0.1(10y ago)018PHPPHP &gt;=5.3.0

Since Feb 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/carlcs/craft-glob)[ Packagist](https://packagist.org/packages/carlcs/craft-glob)[ RSS](/packages/carlcs-craft-glob/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (2)Used By (0)

Glob plugin for Craft CMS
=========================

[](#glob-plugin-for-craft-cms)

Craft plugin that adds a Twig function to find pathnames in your templates folder matching a pattern.

The plugin uses the PHP [`glob`](http://php.net/manual/en/function.glob.php) function internally.

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

[](#installation)

To install the plugin, copy the glob/ folder into craft/plugins/. Then go to Settings → Plugins and click the "Install" button next to "Glob".

Twig function
-------------

[](#twig-function)

### glob( path, pattern )

[](#glob-path-pattern-)

Find pathnames in your templates folder matching a pattern.

```
{% set plugins = [
    'Asset Metadata',
    'Number Convert',
] %}

{% for plugin in plugins %}
    {% set dirPath = 'tests/' ~ plugin|camel|lower ~ '/' %}

    {% for path in glob(dirPath) %}
        {{ path }}
    {% endfor %}
{% endfor %}
```

#### Parameters

[](#parameters)

`path` (optional) : The sub-path in craft/templates/ you want to search in.

`pattern` (optional) : The pattern as described in the PHP [`glob`](http://php.net/manual/en/function.glob.php) documentation (Default value is `'*.{html,twig}'`).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

3748d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7516543?v=4)[carlcs](/maintainers/carlcs)[@carlcs](https://github.com/carlcs)

---

Top Contributors

[![carlcs](https://avatars.githubusercontent.com/u/7516543?v=4)](https://github.com/carlcs "carlcs (7 commits)")

### Embed Badge

![Health badge](/badges/carlcs-craft-glob/health.svg)

```
[![Health](https://phpackages.com/badges/carlcs-craft-glob/health.svg)](https://phpackages.com/packages/carlcs-craft-glob)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k3](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

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

User plugin for October CMS

11954.3k12](/packages/rainlab-user-plugin)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3164.5k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

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