Skip to content

stevie-mayhew/trait-loader

Repository files navigation

Trait Loader for SilverStripe

This module adds in support for autoloading traits to SilverStripe.

Requirements

  • PHP 5.4 or newer
  • SilverStripe 3.1 or newer

Installation

Composer

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

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

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