PHPackages                             stevie-mayhew/trait-loader - 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. stevie-mayhew/trait-loader

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

stevie-mayhew/trait-loader
==========================

Adds trait autoloading support to SilverStripe

1.0.5(9y ago)267.1k↓33.9%6[1 issues](https://github.com/stevie-mayhew/trait-loader/issues)[1 PRs](https://github.com/stevie-mayhew/trait-loader/pulls)2BSD-3-ClausePHPPHP &gt;=5.4

Since Aug 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/stevie-mayhew/trait-loader)[ Packagist](https://packagist.org/packages/stevie-mayhew/trait-loader)[ Docs](https://github.com/stevie-mayhew/trait-loader)[ RSS](/packages/stevie-mayhew-trait-loader/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (6)Used By (2)

Trait Loader for SilverStripe
=============================

[](#trait-loader-for-silverstripe)

This module adds in support for autoloading [traits](http://php.net/trait) to SilverStripe.

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

[](#requirements)

- PHP 5.4 or newer
- SilverStripe 3.1 or newer

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

[](#installation)

### Composer

[](#composer)

- `composer require stevie-mayhew/trait-loader`
- Visit `http://your-site.com/?flush=1`

Manual installation
-------------------

[](#manual-installation)

- Download an archive and extract into a folder named `trait-loader` in your site's root folder
- Visit `http://your-site.com/?flush=1`

License
-------

[](#license)

This module is licensed under a BSD 3 clause license. See the LICENSE file for the actual license.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~119 days

Total

4

Last Release

3629d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1953220?v=4)[Stevie Mayhew](/maintainers/stevie-mayhew)[@stevie-mayhew](https://github.com/stevie-mayhew)

---

Top Contributors

[![stevie-mayhew](https://avatars.githubusercontent.com/u/1953220?v=4)](https://github.com/stevie-mayhew "stevie-mayhew (9 commits)")[![micmania1](https://avatars.githubusercontent.com/u/881537?v=4)](https://github.com/micmania1 "micmania1 (1 commits)")

---

Tags

autoloadsilverstripetraits

### Embed Badge

![Health badge](/badges/stevie-mayhew-trait-loader/health.svg)

```
[![Health](https://phpackages.com/badges/stevie-mayhew-trait-loader/health.svg)](https://phpackages.com/packages/stevie-mayhew-trait-loader)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M271](/packages/symbiote-silverstripe-gridfieldextensions)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

60435.1k13](/packages/jonom-silverstripe-betternavigator)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k31](/packages/lekoala-silverstripe-cms-actions)

PHPackages © 2026

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